Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ('Good day! Kindly choose your "x" and "y" parametres for the following operations...')
- x = input('x: ')
- y = input('y: ')
- print(x, y)
- sum = int(x) + int(y)
- div = int(x)/int(y)
- remainder = int(x)%int(y)
- exp = int(x)**int(y)
- print(f"The sum: {sum}")
- print(f"The integer division: {div}")
- print(f"The remainder of division: {remainder}")
- print(f"The exponentiation: {exp}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement