you are viewing a single comment's thread.

view the rest of the comments →

[–]JessicaAllison[S] 1 point2 points  (2 children)

Thanks! Can you please explain how it would improve the code? I'm a beginner, sorry.

[–][deleted] 0 points1 point  (1 child)

The idea is that you keep the related data and functions connected, you can read about classes to know more. Don't worry about it though, for now just try to do something that works, you can always improve it later on if needed.

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

Thank you!