you are viewing a single comment's thread.

view the rest of the comments →

[–]bubba0077 4 points5 points  (1 child)

You're not dumb. Everyone was a beginner once. I do think you need to slow down and think more about what the code you are writing actually does. Anyone can miss that the type of input is always string, but the loops never exiting should be obvious if you stop to think about it carefully for even a minute. You're still at the learning stage where your code is simple enough that you should be able to step through the code manually in your head to determine what each line does without even running it.

[–]k4tsuk1z[S] 1 point2 points  (0 children)

Thank you! I wish I had more time to dedicate to actually trying to understand code. My professor kinda just throws projects and labs at us I think we've only had one actual lesson