0

Why I have an error?

letters = ['a','b','c'] for | in letters: print(|)

10th Nov 2016, 7:50 AM
Адель С
Адель С - avatar
2 Réponses
+ 2
change | to l letters = ['a','b','c'] for l in letters: print(l)
10th Nov 2016, 7:54 AM
Rahul Chittimalla
Rahul Chittimalla - avatar
0
the for runs over a variable and there is constraints to declare variables. you tried using a pipeline. it does not work
10th Nov 2016, 10:07 AM
Julio Cezar
Julio Cezar - avatar