0

Help me to fix the error??

a = int(input()) w = 0 for i in range(a): i= input() for j in i: w = w+int(j) print(w)

24th Jul 2021, 11:37 AM
Shahir
Shahir - avatar
2 Respostas
+ 4
what is the prog for?
24th Jul 2021, 11:42 AM
Oma Falk
Oma Falk - avatar
+ 2
Hey, you have an Indentation Error. The second for loop has a false positioning, should be sticking to the left side.
24th Jul 2021, 12:27 PM
Piano
Piano - avatar