Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- print("Hi, my am marvin, your personal bot.")
- users_name = input("What is your name? ")
- print("Welcome "+ users_name)
- print("Let's add some numbers")
- input1 = float(input("Number 1> "))
- input2 = float(input("Number 2> "))
- input3 = float(input("Number 3> "))
- result = input1 + input2 +input3
- print(input1, "+", input2, "+", input3, "=", result)
- print("The area of a square of number 1 and 2 ", (input1* input2))
- result = input1 - input2
- print(input1 , "-", input2, "=", result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement