Python Arithmetic Operators Practice Questions
1. Write a Python program to add two numbers entered by the user.
2. Write a Python program to calculate the area of a rectangle using arithmetic operators.
3. Write a Python program to swap two numbers using addition and subtraction (without using a
temporary variable).
4. Write a Python program to calculate the remainder when one number is divided by another.
5. Write a Python program to check if a number is even or odd using the modulo operator.
6. Write a Python program to calculate the result of (a + b) * c where a, b, c are inputs from the user.
7. Write a Python program to increment a number by 1 using the += operator.
8. Write a Python program to calculate the quotient and remainder of two numbers using division
and modulo operators.
9. Write a Python program to calculate the square and cube of a number using the exponentiation
operator.
10. Write a Python program to convert minutes to hours and minutes using division and modulo
operators.