9-14-17 & 9-15-17

today’s agenda:
1. intro to integer and float variables
2. intro to mathematical operators (addition, subtraction, multiplication, division) in Python
3. Create a very simple calculator that asks the user to provide two numbers that will be added together.
4. How would you show the two variables in print to the user so that they see Here is the sum of 2 plus 3:
5.  Modify your code to subtract, multiply and divide.
6. Using string, int and float variables together.

iPhone Calculator – your next mission

Resources:
Mathematical operators with Python

Mathematical functions in Python

 

Leave a Reply

Your email address will not be published. Required fields are marked *