Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what does % do in python

65 % 2
#This will be 1, since % will calculate the remainder of the variable
# % is the modulus operator
Source by getridbug.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
7+3 =