Repository navigation
Expand file tree
/
Copy pathclass_example.py
More file actions
269 lines (62 loc) · 1.69 KB
/
Copy pathclass_example.py
File metadata and controls
269 lines (62 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# number_one = 10
# number_two = 87
# number_two = number_one
#
# print(number_two)
# what will be the value of number_one and number_two when we execute this code?
#This language is Python!
#Swift iOS = Objective-C
#Brandon = none
#Dorcas = 10 and 10
#zion = 25/25
#Ricky = none
#Pat = 25/25
#mutasim = 25/25
#Justin = none OR 25/25
#corine -= 25/25
#Phoebe = 25/25
#Patience = 25/25
#
# print("Hello World")
# print(85)
# print("developers will print logs to the console during code execution")
## today 9/14/2022 we will work on print statements, input, as well as mathematical equations
#Data Types
#String = either characters or words. Strings need " " around them
#Integers = whole numbers
#Floats or Doubles = fractional numbers such as longitude and latitude
# print("Hello World")
# print("My name is Alex")
# print("H")
#
# print("91422")
# print(24 + 6)
# print(234556655.56)
#
# first_name = "Alex"
# last_name = "Ngounou"
#
# x = 12
# y = 3
# space = " "
#
# print(x + y)
#
# #in the line below, the print statement will concatenate first_name and last_name
# print(first_name + space + last_name)
#
# print(first_name.upper())
# print(first_name.lower())
#
#
# print(x/y)
# print(x*y)
# print(x+y)
# print(x-y)
#Input
game_first_name = input("What is your first name? ")
game_last_name = input("What is your last name? ")
game_age = input("How old are you? ")
print("Your first name is " + game_first_name)
print("Your last name is " + game_last_name)
print("You are currently " + game_age + " years old!")