SHARE
TWEET

Untitled

a guest Jul 18th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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}")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top