From 06d34f93b9eac5b51543adb499ee770dee5ff5e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Ot=C3=A1vio?= Date: Sat, 29 Oct 2022 13:08:21 -0300 Subject: [PATCH] for in com list --- aula49.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 aula49.py diff --git a/aula49.py b/aula49.py new file mode 100644 index 0000000..e2abb30 --- /dev/null +++ b/aula49.py @@ -0,0 +1,7 @@ +""" +for in com listas +""" +lista = ['Maria', 'Helena', 'Luiz'] + +for nome in lista: + print(nome, type(nome))