7.3) Exercise 14 - Logic Drills
Read the following lines, work out what they will do and then type them into the interpreter.
3>4 4<=4 a=7.9 0<a<10 a=3 b=3 a==b 'abc'=='abc' "Apples" != "Oranges" 'Elephant' > 'Mouse' 3<6 and 6 < 9 # Note, this could also be written as 'True and True' True and (3>5) # Note, this could also be written as 'True and False' True or False False and True True and (True or False) True and not (True or False)