- Stand in Line - tests your knowledge when combining
- Golf Code - tests your knowledge on
- Counting Cards - tests your knowledge on
In other words, don’t practice each method, but practice on how and when do use them when you come across complex algorithms.
There is more section that tests your knowledge about combining them, but I personally like the Basic/Intermediate Algorithm Scripting sections.
For practice, try to count cards with if/else, and golf with a switch
I’m currently doing the course and finding the exact same problem. I don’t feel like I’m learning to apply, only learning to copy what appears in the example. But then can’t apply it later for other applications. I think I might start practicing the theory in my own projects, worked well for HTML and CSS learning
If i do not understand any piece of code, Python Tutor is actually often helpful.
It basically runs your code step by step. Consider to use it.
Also don’t rush through challenge steps. Try to search for additional info about stuff from challenge step if you don’t have good understanding right off the bat.
Are you talking about the example on the challenge page or the solution on the hint page?
Because if you just copy solution code you are not going to be learning much. It would be much better to open a thread and ask for help with your own code.
Reading and understanding the different solutions can be useful, but copying and pasting them blindly will not help you at all.
I’m mainly talking about using the example on the challenge page. I have looked at the hints/solution when it took me a while to come up with it on my own. I recently posted a question in the forum instead of looking at the hint. I agree with you, it helped a lot more than just the hint/solution. The answer I received pointed me in the right direction and it helped to shift my thinking.