D
drife
Hello,
Making the transition from Perl to Python, and have a
question about constructing a loop that uses an iterator
of type float. How does one do this in Python?
In Perl this construct quite easy:
for (my $i=0.25; $i<=2.25; $i+=0.25) {
printf "%9.2f\n", $i;
}
Thanks in advance for your help.
Daran Rife
(e-mail address removed)
Making the transition from Perl to Python, and have a
question about constructing a loop that uses an iterator
of type float. How does one do this in Python?
In Perl this construct quite easy:
for (my $i=0.25; $i<=2.25; $i+=0.25) {
printf "%9.2f\n", $i;
}
Thanks in advance for your help.
Daran Rife
(e-mail address removed)