Handling 3 operands in an expression without raising an exception

Νίκος nikos.gr33k at gmail.com
Thu Sep 26 09:34:55 EDT 2013


Στις 26/9/2013 3:53 μμ, ο/η Antoon Pardon έγραψε:
> Op 26-09-13 14:39, Νίκος schreef:
>> Yes, you are right, in my shell it fails too givign the same error
>> message as yours, while on the other had in the websste is working.
>>
>> Can you explain this please?
>> why doesnt it fail to both enviroments?
>
> Your site and your shell are two different environments. The state
> of the website environment lets your code succeed while the state
> of the shell environment, doesn't.
>
What modification does it need to also work in the shell environmentthe 
[0] at the end is what complicates things.



More information about the Python-list mailing list