In Python,
You type
for THINGY in LIST:
not
for THINGY in LIST
as Python gets VERY tetchy about the lack of a colon. Deathly-Hallows!JKR/Python programming language OTP!!!
...Also, you use "def" to define a function, not "function". -_-;; I hadn't touched the Python section in a while - can you tell?
This entry is mirrored at
http://guardians-song.dreamwidth.org/84231.html.
Comment wherever you like. Just remind me to get off the internet and do my homework.