Advertisement
MUstar

IoT Python3 0814 - Calc

Aug 15th, 2017
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. print("7+4 = ", 7+4)
  2. print("7+4 = ", 7*4)
  3. print("7+4 = ", 7/4)
  4. print("2**3 = ", 2**3)
  5. print("5%3 = ", 5%3)
  6. print("7+4 = ", 7+4)
  7.  
  8. num = 10
  9. print("num = ", num)
  10. print("num+2 = ", num+2)
  11. print("num-2 = ", num-2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement