Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. name = "Math Boy!"
  2. print("Wassup I'm " + name)
  3. person = input("And you are?")
  4. answer = input("Ready to do some math " + person + "?")
  5.  
  6. print("Sorry what did you say? I wasn't listening")
  7. print("Okay let's go")
  8. print("First addition")
  9. input1 = input("Give me 3 numbers, the first one?")
  10. input2 = input("Okay, the next one?")
  11. input3 = input("Last but not least?")
  12. number1 = int(input1)
  13. number2 = int(input2)
  14. number3 = int(input3)
  15. mathQ1 = number1 + number2 + number3
  16. showa1 = str(mathQ1)
  17. print( input1 + "+" + input2 + "+" + input3 + "=" + showa1)
  18. response1 = input("What do ya think?")
  19.  
  20. print("I know, Im great")
  21. response2 = input("Wanna see me multiply?")
  22. muti_1 = input("Give me a number")
  23. muti_2 = input("and another one")
  24. nm1 = int(muti_1)
  25. nm2 = int(muti_2)
  26. nm3 = nm1 * nm2
  27. answe2 = str(nm3)
  28. print("Booom " + answe2)
  29. print("Ill be here all night")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement