0

I don't undertand! Why doesn't it work? Someone help me

https://code.sololearn.com/c9B7lz0GHcfj/?ref=app

25th Jun 2018, 1:37 AM
Javicho Enriquez
Javicho Enriquez - avatar
4 ответов
+ 13
Can you tell us what is the problem of the code? So that we can help you.😉
25th Jun 2018, 1:43 AM
JTLZ
+ 5
While I haven't tried running it, I can tell you some problems. Line 8 & 9 are executed before your random numbers are put into lista. Therefore, suma and promedio will be zero. Fixed: https://code.sololearn.com/cBNl8cn5WGCa
25th Jun 2018, 1:55 AM
John Wells
John Wells - avatar
+ 2
thank you so much!
25th Jun 2018, 4:35 AM
Javicho Enriquez
Javicho Enriquez - avatar
+ 1
thanks! on line 38 when i try to add the numbers, they don't add up, what's happening?
25th Jun 2018, 1:49 AM
Javicho Enriquez
Javicho Enriquez - avatar