0
Help with loop/indention/logic Python
https://code.sololearn.com/ca24a21a20a2/?ref=app So I’ve been working on the code It’s for an assignment in my python class There’s still a few kinks I can’t quite work out that I displayed in ##comments If you get a chance to look I’d really appreciate any help
2 odpowiedzi
+ 2
thanks Wilbur
you were right i got it all squared away it was definately a good assignment to learn how loops should be used it makes much better sense to me now
+ 1
I looked at the code a little, and this seems like a pretty simple misordering of the loop logic, such as misplacing if statements inside one loop when they should be inside another, or even having the loop check the wrong thing for why it should keep circulating. however, if it’s a school project, I’m not sure I can help you much. my biggest recommendation is that you just read through the code yourself, and try to follow the logic of the computer. like I said, the first few mistakes were pretty simple.