# Anna Krupnova
# September 15, 2022
# In this lesson, I learned about adding integers and strings and different type of errors
# In this lesson I didn't strugle with anything :)
# [ ] Review and run code for adding a pair of 2 digit Integers
19 + 3
# echo the result of numeric addition
print(3.4 + 9.1)
# [ ] Review and run code for adding 2 strings
"my name is " + "Alyssa"
# [ ] Review and run code for adding a variable string and a literal string
shoe_color = "brown"
"my shoe color is " + shoe_color
# [ ] add 3 integer numbers
13 + 5 + 9
# [ ] add a float number and an integer number
3.67 + 7
# [ ] Add the string "This notebook belongs to " and a string with your first name
"This notebook belongs to" + " Anna"
# [ ] Create variables sm_number and big_number and assign numbers then add the numbers
sm_number = 45
big_number = 1947
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 = "Anna"
last_name = " Krupnova"
first_name + last_name
# [ ] review & run code for assigning variables & using addition
add_two = 34 + 16
first_name = "Alton"
greeting = "Happy Birthday " + first_name
print(add_two)
print(greeting)
# [ ] review & run code for Integer addition in variables and in a print function
int_sum = 6 + 7
print(int_sum)
print(11 + 15)
print()
# string addition in variables and in print()function
hat_msg = "I do not wear " + "a hat"
print(hat_msg)
print("at " + "dinner")
# [ ] perform string addition in the variable named new_msg (add a string to "my favorite food is ")
new_msg = "Lasagna"
print("My favorite food is " + new_msg)
# [ ] perform Integer addition in the variable named new_msg (add 2 or more Integers)
new_msg = 45
print(56 + 196 + new_msg)
# [ ] create and print a new string variable, new_msg_2, that concatenates new_msg + a literal string
new_msg2 = "The total value is "
print(new_msg2 + "297 dollars")
# [ ] Review & run code
print("my number is " + "123") #string, represents a text character
print("my number is " + 123) #number, with numeric value
# [ ] Review and run the code - then fix any Errors
total_cost = "3" + "45"
print(total_cost)
# [ ] Review and run the code - then fix any Errors
school_num = "123"
print("the street number of Central School is " + school_num)
# [ ] Read and run the code - write a hypothesis for what you observe adding float + int
# [ ] HYPOTHESIS: Integers and float numbers work together because both of these classes are numbers
print(type(3.3))
print(type(3))
print(3.3 + 3)
# [ ] Review and run the code for properly and improperly formatted print statement
print("Hi!")
## improper format - non matching quotes
print("I like the morning")
# [ ] Review and run the code
print('hi')
# [ ] Review and run the code missing the closing parenthesis
print("where are my socks?")
# { ] Review and run the code
print("my socks are in the wrong bin")
# [ ] Repair the syntax error
print("my socks do not match")
# [ ] Repair the NameError
print("my socks match now")
# [ ] Repair the syntax error
print("Save the notebook frequently")
# [ ] Repair the NameError
student_name = "Alton"
print(student_name)
# [ ] Repair the TypeError
total = "3"
print(total + " students are signed up for tutoring")