Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hi, I am Marvin, your personal bot.")
- print ("Let's add the age of your 3 children .")
- input1 = input("Child 1> ")
- input2 = input("Child 2> ")
- input3 = input("Child 3> ")
- number1 = int(input1)
- number2 = int(input2)
- number3 = int(input3)
- result = number1 + number2 + number3
- output = str(result)
- print( " Your 1st child is : " +input1 + " / Your second child is :" +input2 + " / And your 3rd is :" + input3 + " // The three toguether are = " + output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement