zulu: Hugh Laurie as House, with text: seeker after truth (house - truth seeker)
zulu ([personal profile] zulu) wrote in [community profile] intro_to_cs 2010-01-10 10:05 pm (UTC)

I'm not sure where the handout is, so this is just a guess, but maybe the bug is that there's no colon after the first instruction? For instance, this is correnct:

if x > y:
     print x

But this is not correct:

if x > y
     print x

Post a comment in response:

This community only allows commenting by members. You may comment here if you're a member of intro_to_cs.
(will be screened if not on Access List)
(will be screened if not on Access List)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting