Exp No 2 Program to perform different Arithmetic Operations on numbers in Python.
x = 15
y = 4
Output: x + y = 19
print('x + y =',x+y)
Output: x - y = 11
print('x - y =',x-y)
Output: x * y = 60
print('x * y =',x*y)
Output: x / y = 3.75
print('x / y =',x/y)
Output: x // y = 3
print('x // y =',x//y)
Output: x ** y = 50625
print('x ** y =',x**y)
INPUT AND OUTPUT:
x + y = 19
x - y = 11
x * y = 60
x / y = 3.75
x // y = 3
x ** y = 50625
On this page of the site you can watch the video online PYTHON PROGRAMMING LAB Exp 2 with a duration of hours minute second in good quality, which was uploaded by the user DIWAKAR TIWARY 07 January 2024, share the link with friends and acquaintances, this video has already been watched 34 times on youtube and it was liked by 0 viewers. Enjoy your viewing!