guardians_song (
guardians_song) wrote2013-04-22 09:45 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Entry tags:
Note to self:
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?
You type
for THINGY in LIST:
not
for THINGY in LIST
as Python gets VERY tetchy about the lack of a colon.
...Also, you use "def" to define a function, not "function". -_-;; I hadn't touched the Python section in a while - can you tell?