Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python range() float

# welcome to softhunt.net
# using a float number
for i in range(2.5):
	print(i)
print()

# using a float number
for i in range(15.75):
	print(i)
print()
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Python #float
ADD COMMENT
Topic
Name
4+3 =