On Thursday, December 25, 2014 10:16:54 AM UTC-6, Jacob Kruger wrote:
> One line assignment is ok, but, seems like you can't perform actions.
>
> #the following will work:
> I = 1 if True else 2
>
> #but the following will generate an error:
> if I == 1: print("one")Only if "I" is undefined. -- https://mail.python.org/mailman/listinfo/python-list
