WRITE A PYTHON PROGRAM TO IMPLEMENT ARITHMETIC
OPERATORS
PRINT(“ARITHMETIC OPERATORS”)
PRINT(“**************************”)
a = int(input("Enter the first number: "))
b = int(input("Enter the second number: "))
print("Addition:", a + b)
print("Subtraction:", a - b)
print("Multiplication:", a * b)
print("Division:", a / b)
print("Floor Division:", a // b)
print("Modulus:", a % b)
print("Exponentiation:", a ** b)
OUTPUT:
Enter the first number: 20
Enter the second number: 20
Addition: 40
Subtraction: 0
Multiplication: 400
Division: 1.0
Floor Division: 1
Modulus: 0
Exponentiation: 104857600000000000000000000