Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. print ('Good day! Kindly choose your "x" and "y" parametres for the following operations...')
  2. x = input('x: ')
  3. y = input('y: ')
  4. print(x, y)
  5. sum = int(x) + int(y)
  6. div = int(x)/int(y)
  7. remainder = int(x)%int(y)
  8. exp = int(x)**int(y)
  9. print(f"The sum: {sum}")
  10. print(f"The integer division: {div}")
  11. print(f"The remainder of division: {remainder}")
  12. print(f"The exponentiation: {exp}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement