Advertisement
Scunnered

Untitled

Aug 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. input1=input("first number ")
  2. input2=input("second number ")
  3. number1=int(input1)
  4. number2=int(input2)
  5.  
  6. print("multiply or divive, m or d?")
  7.  
  8. command=input("what you you like to do? ")
  9.  
  10. if command=="m":
  11. print("Multiply")
  12. print( number1 * number2)
  13.  
  14.  
  15. elif command=="d":
  16. print("division")
  17. print( number1 / number2)
  18.  
  19. else:
  20. print("I give up")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement