#Sam Ola
#10/8/2021
#I learned how to use different comparisons
# I didn't understand how to do task 3 so i wasn't able to finish it
# review and run code
"hello" < "Hello"
# review and run code
"Aardvark" > "Zebra"
# review and run code
'student' != 'Student'
# review and run code
print("'student' >= 'Student' is", 'student' >= 'Student')
print("'student' != 'Student' is", 'student' != 'Student')
# review and run code
"Hello " + "World!" == "Hello World!"
msg = "Hello"
msg > "hello"
greeting = "Hello"
msg = input('Say "Hello"')
if msg == greeting:
print("ok!")
else:
print("ok")
# [ ] review and run code
msg = "Save the notebook"
if msg.lower() == "save the notebook":
print("message as expected")
else:
print("message not as expected")
# [ ] review and run code
msg = "Save the notebook"
prediction = "save the notebook"
if msg.lower() == prediction.lower():
print("message as expected")
else:
print("message not as expected")
answer = input('What is 8 + 13? : ')
if answer == "21":
print("Correct!")
else:
print("Incorrect!")
def tf_quiz()
question = ("Should save your notebook after edit?(T/F): ")
print("your answer was",question)