I need assistance | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I need assistance

the snail and the well is confusing me https://code.sololearn.com/ccIbO54gMZB1/#node I think it is too short but I'm not sure

15th Nov 2021, 7:37 PM
Jackson Jameson
Jackson Jameson - avatar
3 Answers
+ 4
Please put your code on sololearn playground and link it here, so we can on it!
15th Nov 2021, 7:52 PM
Lisa
Lisa - avatar
+ 2
Your loop and and if-statement doesn't look right. I recommend you to review the lessons corresponding lessons before you target this code project. You could approach it like this: * use a while loop and count on each iteration + day and the current height (+ (7-2)). * break from the loop when the current height is equal or exceeds to the depth variable (edited)
15th Nov 2021, 8:28 PM
Lisa
Lisa - avatar
0
thx
15th Nov 2021, 8:33 PM
Jackson Jameson
Jackson Jameson - avatar