Answers for "can we loop through a float in python"

0

for loop with float python

import numpy as np 

for  i in np.arange(0.5, 1.5, 0.2):
   print(i, end =" ")
Posted by: Guest on June-04-2021

Code answers related to "can we loop through a float in python"

Python Answers by Framework

Browse Popular Code Answers by Language