<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
I'm working on Ch. 5, "Fruitful Functions", or "How To Think Like A Computer Scientist" and I still can't count.<BR>
(Don't laugh! I can't play the violin either...)<BR>
<BR>
In Basic, I would have said:<BR>
<BR>
10 x = x + 1 : print x : goto 10<BR>
<BR>
run<BR>
1<BR>
2<BR>
3<BR>
etc....<BR>
<BR>
I don't know why, but this great UNKNOWN bothers me a lot. Maybe it is because it was the first thing I learned in Basic, <BR>
back 20 years ago when I was actually a programmer.... But I think it goes toward visualizing how things are <BR>
going flow and be constructed without line numbers and the venerable GOTO statement. <BR>
<BR>
How is this done in Python? (So I can stop holding my breath as I study this great language....and relax.)<BR>
<BR>
Thanks,<BR>
<BR>
Terry
</BODY>
</HTML>