Why don't we call the for loop what it really is, a foreach loop?

Paul Rubin no.email at nospam.invalid
Thu Sep 15 01:01:34 EDT 2016


Travis Griggs <travisgriggs at gmail.com> writes:
>     for each in ['cake'] + ['eat', 'it'] * 2:
>         print(each)

https://pbs.twimg.com/media/Cr-edT2VUAArpVL.jpg



More information about the Python-list mailing list