Python: printing a range with decimal points
Posted
by jabo
on Stack Overflow
See other posts from Stack Overflow
or by jabo
Published on 2010-03-13T20:01:55Z
Indexed on
2010/03/13
20:05 UTC
Read the original article
Hit count: 132
I can print a range of numbers easily using range, but is is possible to print a range with 1 decimal place from -10 to 10?
e.g
-10.0, -9.9, -9.8
all they way through to +10?
© Stack Overflow or respective owner