I don't get an error. >>> I = 1 if True else 2 >>> if I == 1: print("one") ... one >>>
What error did you get? Skip
-- https://mail.python.org/mailman/listinfo/python-list
I don't get an error. >>> I = 1 if True else 2 >>> if I == 1: print("one") ... one >>>
What error did you get? Skip
-- https://mail.python.org/mailman/listinfo/python-list