Answers for "python for loop steps of float"

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

Python Answers by Framework

Browse Popular Code Answers by Language