Code
# Python programs to perform basic arithmetic operations... num1=int(input("Enter first number: ")) num2=int(input("Enter second number: ")) print("Addition is: ",num1+num2) print("Subtraction is: ",num1-num2) print("Multiplication is: ",num1*num2) print("Exponent is: ",num1**num2) print("Division is: ",num1/num2) print("Modulus is: ",num1%num2) print("Floor Division is: ",num1//num2)
Output
Enter first number: 10 Enter second number: 5 Addition is: 15 Subtraction is: 5 Multiplication is: 50 Exponent is: 100000 Division is: 2.0 Modulus is: 0 Floor Division is: 2