Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python % meaning

# the % symbol gives us the remainder of a quotient
# examples

>>> 23 % 5 # should be 3
3

>>> 25 % 5 # no remainder, so should be 0
0
 
PREVIOUS NEXT
Tagged: #python #meaning
ADD COMMENT
Topic
Name
3+3 =