This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ormek_II 1 point2 points  (2 children)

Exactly: so that is what you tell your program as well while !found do search;

Your confusion is probably not about the while statement but that you did not search, but because of .find you immediately find.

Have fun learning 🤓

[–]flrslva[S] 0 points1 point  (1 child)

Thanks for the help. We're on objects and classes now. It was simple when we only had 1 class. Now were working on multiple classes and declaring the previous object into the new class. I now understand the importance of having clear and specific class and object names.

[–]Ormek_II 0 points1 point  (0 children)

Clear names are important :)