Advertisement
Sheyii

Multiplication code

Jan 18th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. print("Hello, I am Sheyii your personal bot.")
  2.  
  3. print("Multiplication of numbers")
  4.  
  5. input1 = input("Number 1>")
  6. input2 = input("Number 2>")
  7. input3 = input("Number 3>")
  8.  
  9. number1 = int(input1)
  10. number2 = int(input2)
  11. number3 = int(input3)
  12.  
  13. result = number1 * number2 * number3
  14.  
  15. output = str(result)
  16.  
  17. print(input1 + "*" + input2 + "*" + input3 + "=" + output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement