Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

division in python

5//2 in python will return an integer value 2.
// <- this symbol denotes the integer division any values after the decimal will be ignored.
/ <- this returns normal mathamatical division including decimal values.
So, 5/2 = 2.5.
 
PREVIOUS NEXT
Tagged: #division #python
ADD COMMENT
Topic
Name
1+6 =