how to create a list with float numbers
Hello,
is it possible to create a list with float numbers?
Thanks,
2 answers ( 0 marked as helpful)
Hi Marc!
Thanks for reaching out.
Yes, you can use the following syntax:
array_floats=[1.5, 1.7, 2.5]
Hope this helps.
Best,
Tsvetelin
My guess is changing any of star, stop, and step from integer to a float number will give you a float number.