#Sam Ola
#9/26/2021
#I learned how to fix errors in this lesson
#I struggled with putting integers with strings together in task 4 but i think i got it but im not 100% sure
# [ ] Review and run code
23 + 18
# [ ] Review and run code
"my name is " + "Alyssa"
# [ ] Review and run code
shoe_color = "brown"
"my shoe color is " + shoe_color
# [ ] add 3 integer numbers
17 + 97 + 183
# [ ] add a float number and an integer number
3.6 + 72
# [ ] Add the string "This notebook belongs to " and a string with your first name
"This notebook belongs to " "Sam"
# [ ] Create variables sm_number and big_number and assign numbers then add the numbers
sm_number = 15
big_number = 235
sm_number + big_number
# [ ] assign a string value to the variable first_name and add to the string ", remember to save the notebook frequently"
first_name = "Sam"
first_name + ", remember to save the notebook frequently"
# [ ] review & run code
first_name = "Alton"
greeting = "Happy Birthday " + first_name
print(add_two)
print(greeting)
# [ ] review & run code
int_sum = 6 + 7
print(int_sum)
print(11 + 15)
print()
# [] review and run code
hat_msg = "I do not wear " + "a hat"
print(hat_msg)
print("at " + "dinner")
I do not wear a hat
at dinner
new_msg = "my favorite food is " + "Mac and Cheese"
new_sum = 0 + 8 + 94 +50
print(new_sum)
152
new_msg_2 = "0 + 8 + 94 + 50"
print (new_msg_2)
new_msg_2 + "is the answer to the problem"
# [ ] Review and run the code
print("Hi!")
## improper format - non matching quotes
print('I like the morning")
# [ ] Review and run the code
prin('hi')
Execution Error
NameError: name 'prin' is not defined
# [ ] Review and run the code
print("where are my socks?"
# { ] Review and run the code
print("my socks are in the wrong bin)"
print("my socks do not match")
my socks do not match
print("my socks match now")
print("Save the notebook frequently")
Save the notebook frequently
student_name = "Alton"
print(student_name)
Alton
total = "3"
print(total + " students are signed up for tutoring")
3 students are signed up for tutoring