The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: BartlebyScrivener <bscrivene...@gmail.com>
Date: 27 May 2007 05:45:44 -0700
Local: Sun, May 27 2007 10:45 pm
Subject: Re: ten small Python programs
On May 26, 1:43 pm, Steve Howell <showel...@yahoo.com> wrote:
> ------ For the person new to programming (doesn't come from C or other > parentRabbits, babyRabbits = (1, 1) > while babyRabbits < 100: > print 'This generation has %d rabbits' % > babyRabbits > parentRabbits, babyRabbits = (babyRabbits, > parentRabbits + babyRabbits) > ------ languages), I think you need to add a separate explanation of string formatting and how it works, or at least add a comment that tells them you are using string formatting so that they can search and find out how it works. If your aim is to teach simple programming concepts, why confuse them so early on with fancy interpolation? Something like # uses Python string formatting but really I think it will just be a distraction rd You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||