-
Too bad his proposal fails!
File "engagement.py", line 1
while tonyPosition = onBendedKnee:
^
SyntaxError: invalid syntax
Also, notice how the '''-string is never closed.
He should really work on that proposal.
-
"else if" should read "elif", as well, and the assignment inside the if statements, and it's a pretty strange stephAnswer() function that changes it's own symbol to be the return value.
Well, cool anyways. :)
-
And it could be way more OOP.
tonySays() is rather C-ish.
-
Imagine my surprise to find a link to my proprosal JoT on the Python Daily URL. To clarify, I wrote that code to only resemble Python. My now fiancee is not a programmer and wouldn't have been able to read it/understand it otherwise. And then where would I be?
-
^_^ Actually, the "errors" are rather small, and I think valid Python code would still have been understandable. Except maybe for the "elif" keyword, which might a bit confusing to non-programmers.