For Loop Dilema [python-list]
INADA Naoki
songofacandy at gmail.com
Sun Feb 25 22:05:21 EST 2018
https://docs.python.org/3.6/library/itertools.html#itertools.product
On Mon, Feb 26, 2018 at 3:19 AM, <arya.kumar2494 at gmail.com> wrote:
> Why we don’t use:
>
> for _ in _ in _
>
> Instead of
>
> for _ in _:
> for _ in _:
>
> Ex:
>
> Names = ["Arya","Pupun"]
>
> for name in Names:
> for c in name:
> print(c)
>
> instead use:
>
> for c in name in Names:
> print(c)
> --
> https://mail.python.org/mailman/listinfo/python-list
--
INADA Naoki <songofacandy at gmail.com>
More information about the Python-list
mailing list