Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hi, I am Rotellity, the Funky Maths bot.")
- print("I came, I saw, I added!")
- users_name = input("Now tell me, what is your name?")
- print("Welcome " + users_name)
- print("lets have fun with numbers")
- input1 = input("Pick a number, any number!>")
- input2 = input("Now pick a second number>")
- input3 = input("Let's add one more to the mix, just for fun>")
- number1 = int(input1)
- number2 = int(input2)
- number3 = int(input3)
- result = number1 + number2 + number3
- output = str(result)
- print("Watch me add all three numbers!" + input1 + " + " + input2 + " + " + input3 + " = " + output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement