That's odd.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

That's odd..

Can anybody tell me what's the problem with this code in "that's odd.." coadcoach. It wants to sum only the even numbers that user gives us a=[] for i in range(10): b=int(input()) b.append(a()) if i%2==0: sum=+i #elif i%2==0: #continue print (sum )

29th Oct 2020, 8:45 AM
tara
tara - avatar
1 Answer
+ 5
Copy paste it in code playground and then share it here, because right now I can see serious indentation problems with your code.
29th Oct 2020, 8:47 AM
Arsenic
Arsenic - avatar