Instant Hacking
Learn how to program with Python
Adding Flexibility
Variables allow you to perform more advanced calculations
For example, the area of a circle:
radius = 30 print radius*radius*3.14
This is inflexible. What if radius changes?
As when the salad recipe says "Cook 3 to 4 minutes or until SPAM is heated" you have to
check
when it is cooked
We need
feedback
, or
input