o want to avoid having to type somehting like this:

if person="George":
        times in range(0, 5):


Why it gives me an error when i'm trying to write it like this:


if person="George" for times in range(0, 5):

Can't i ahve both if and for in a one liner?
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to