Advertisement
Pedroleon

Untitled

Jan 10th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. print("Hi, I am Marvin, your personal bot.")
  2. print ("Let's add the age of your 3 children .")
  3. input1 = input("Child 1> ")
  4. input2 = input("Child 2> ")
  5. input3 = input("Child 3> ")
  6. number1 = int(input1)
  7. number2 = int(input2)
  8. number3 = int(input3)
  9. result = number1 + number2 + number3
  10. output = str(result)
  11. 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