[Edu-sig] Starting Python
dblank at brynmawr.edu
dblank at brynmawr.edu
Wed Jan 18 01:21:36 CET 2006
> Hi Andrew,
[snip]
> Beware of assuming that things that are obvious to those of us who are
> experienced programmers are going to be obvious to kids who've never
> programmed at all. The idea that someone with no previous exposure will
> find Python "readable" seems pretty optimistic to me -- I'm sure there are
> kids like that but I haven't had any in my classes. Something as trivial
> as
>
> for val in range(10,0,-1):
> print val
> print "Blastoff!"
>
> is not self-explanatory to normal people!
Or even non-normal people, like programmers! Of course, you'd start with:
for val in [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]:
print val
print "Blastoff!"
Have fun,
-Doug
> Andy Judkis
> Academy of Allied Health and Science
> Neptune, NJ_______________________________________________
> Edu-sig mailing list
> Edu-sig at python.org
> http://mail.python.org/mailman/listinfo/edu-sig
>
More information about the Edu-sig
mailing list