Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

arithmetic in python

print(10 + 2) # Addition
print(10 - 2) # Subtraction
print(10 * 2) # Multiplication
print(10 / 2) # Division
print(10 % 3) # Modulus
print(10 // 2) # Floor Division
print(10 ** 2) # Exponent
 
PREVIOUS NEXT
Tagged: #arithmetic #python
ADD COMMENT
Topic
Name
4+3 =