minte9
LearnRemember




S R Q

Script mode

1 p37 In interactive mode you interact directly with the interpreter.
 
>>> miles = 26.2
>>> miles * 1.61
42.182
There are differences between the two modes that can be confunsing.
 
# calculator.py

miles = 26.2
miles * 1.61  # nothing!
print (miles * 1.61)

Questions