+ 1
How to complete this code?
Hey guys, I don't get this exercise about the"for loop". Can you help me? It says to fill in the blankets to complete the code: list = ['1', '2', '3', '4'] _I_letters_ print(I) I know I have to put: forI_letters: print(I) but I don't get what to type after the I
1 Answer
+ 3
# "in"
for l in letters:
print(l)
# anyway, don't forgot that indentation is mandatory in Python (even for human reading ;P)