0

Why this code not run in python

The script run in my PC but don't in Sololearn app https://code.sololearn.com/c626r4C8t6nF/?ref=app

26th Apr 2020, 12:06 AM
David Giménez
David Giménez - avatar
6 Respuestas
+ 7
Wrong indentation at line 7..
26th Apr 2020, 2:40 AM
Indira
Indira - avatar
+ 5
Great👍
26th Apr 2020, 3:00 AM
Indira
Indira - avatar
+ 3
Thanks for your help, my code now working 😃
26th Apr 2020, 3:00 AM
David Giménez
David Giménez - avatar
+ 2
one I would say you want this to run a loop several times so here on SoloLearn that means you have to enter all numbers you want to use from the beginning as it will not loop and let you enter new numbers... two I ran into several indention errors so half the time was spent re-indenting and un-indenting...
26th Apr 2020, 12:33 AM
BroFar
BroFar - avatar
+ 2
Your code seems fine just a bit mistake. (removing extra spaces 😅) Remove single space from following lines: 7,11,15,19,24,26,28,31,37,43,49,55,56,57,58,60,61,62,63,65,68 (from left side) #nyc Code✌️😉
26th Apr 2020, 2:19 AM
Absolute Zero ϟ
Absolute Zero ϟ - avatar
+ 1
Looks like an issue with indenting. Looks like you just need to add a space in front of your 4 declarations.
26th Apr 2020, 12:38 AM
Chris Persichetti
Chris Persichetti - avatar