zulu (
zulu
) wrote
in
intro_to_cs
2010-01-10 10:05 pm (UTC)
no subject
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
(
19 comments
)
Post a comment in response:
From:
Anonymous
This community only allows commenting by members. You may comment here if you're a member of intro_to_cs.
OpenID
(will be screened if not on Access List)
Identity URL:
Log in?
Dreamwidth account
(will be screened if not on Access List)
Account name
Password
Log in?
If you don't have an account you can
create one now
.
Subject
HTML doesn't work in the subject.
Formatting type
Casual HTML
Markdown
Raw HTML
Rich Text Editor
Message
[
Home
|
Post Entry
|
Log in
|
Search
|
Browse Options
|
Site Map
]
no subject
if x > y:
print x
But this is not correct:
if x > y
print x