Advertisement
HBSB

Python Programming Pi101 1.14

Nov 19th, 2020
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. print("Hi " + user_name + " and welcome.")
  2. print("Let's add some numbers.")
  3. input1=input("Number1> ")
  4. input2=input("Number2> ")
  5. number1=int(input1)
  6. number2=int(input2)
  7. result=number1 + number2
  8. output=str(result)
  9. print("The sum of 2 and 3 is " + output)
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement