xavicano

Untitled

Sep 29th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. print("Hi, I am Maths bot.")
  2. users_name = input(" What is your name? ")
  3. print(" Hi, " + users_name + " Welcome!")
  4. print("lets add some numbers")
  5. input1 = int(input("Number 1> "))
  6. input2 = int(input("Number 2> "))
  7. input3 = int(input("Number 3> "))
  8. result = input1 + input2 + input3
  9. print(input1 , " + " , input2  , " = " , result)
Advertisement
Add Comment
Please, Sign In to add comment