Home / Python Tips Generated By ChatGPT / Arithmetic Operations in Python Perform basic arithmetic operations. Source Code a = 10 b = 3 print(a + b) # Addition print(a - b) # Subtraction print(a * b) # Multiplication print(a / b) # Division print(a % b) # Modulus print(a ** b) # Exponentiation