W01E23

53 views
Skip to first unread message

spark...@gmail.com

unread,
Feb 11, 2016, 2:19:18 PM2/11/16
to mooc.fi
Hi,

I'm having problems with week 1 exercise 23.

Seems to run fine locally but it's not passing the TMC tests, can anyone point me in the right direction?


spark...@gmail.com

unread,
Feb 11, 2016, 4:16:55 PM2/11/16
to mooc.fi, spark...@gmail.com
Fixed it by declaring the variable inside the loop, solved.

boyco...@gmail.com

unread,
Apr 5, 2016, 7:06:10 AM4/5/16
to mooc.fi, spark...@gmail.com
Wow, I would have never thought to declare the variable in the loop. Thanks!
Reply all
Reply to author
Forward
0 new messages