Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hello, I am Michael, your personal bot")
- user_name = input("whats your name?" + "(type your name and press Enter)")
- print(" Welcome " + user_name + ", lets get started ")
- print(" Today we are going to add two numebers together")
- input1 =input("Enter firstnumber>")
- input2 =input("Enter secondnumber>")
- firstnumber= int(input1)
- secondnumber=int(input2)
- result = firstnumber+secondnumber
- output =str(result)
- print(input1+ "+" + input2 + "=" +output)
- print("is your answer")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement