Calculator
LEARNING OBJECTIVE
Understand how to use
selection to create a
simple calculator.
VARIABLES
String – remember this
from last lesson?
Numbers:
Integer
Float
What’s happeninghere ?
SELECTION
How we choose a suitable
action based on a
condition.
IF I’m hungry
Eat Something
ELSE
Don’t eat anything
Can you add more selectionto handle
multiplicationand division ?
NEXT TASK
Continue at
https://www.codecademy.
com/learn/python
and continue the Python
course from where you
finished last lesson.
LEARNING OBJECTIVE
Understand how to use
selection to create a
simple calculator.
or

Python - Lesson 2