Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hi, I am Maths bot.")
- users_name = input(" What is your name? ")
- print(" Hi, " + users_name + " Welcome!")
- print("lets add some numbers")
- input1 = int(input("Number 1> "))
- input2 = int(input("Number 2> "))
- input3 = int(input("Number 3> "))
- result = input1 + input2 + input3
- print(input1 , " + " , input2 , " = " , result)
Advertisement
Add Comment
Please, Sign In to add comment