R
8

Showerthought: Coding loops finally made sense when I tracked my tool loans

I used to write down every tool I lent out on a notepad. Checking who had what took me ages each week. When I started learning Python, the for-loop section just did not click for me. Then I tried using a loop to go through my tool list and check for missing items. Seeing the code run and spit out the answers in seconds was a lightbulb moment. Now I get why people say to code something you actually deal with.
2 comments

Log in to join the discussion

Log In
2 Comments
wren_ellis12
Totally! The best way to learn code is to solve a real problem you have. It stops being abstract math and becomes a useful tool. Your tool list example is perfect for that.
3
simon378
simon3781d ago
You're still using that broken tool list as an example?
6