r/learnpython • u/dasgrizzly • Oct 10 '26
Online courses don't seem to give all the pieces to the end of module puzzles
I'm taking a class for Python and have to use Grok Learning. At first it was fine but getting a little further in they give you pieces of how to answer problems but not everything. I'm stuck on a while loop problem where you need to make a list of words but only show the number of unique words but nowhere in the learn did it teach that.
Is there a better way to learn Python that will make it a bit easier to understand? Any recommendations on YouTube channels or other resources? Any help will be great!
Thanks for all the help so far! Think I will have to go back through again to get a better grasp of the learning and take better notes.
13
u/BranchLatter4294 Oct 10 '26
Suppose you didn't have a computer. Someone gave you a list of words. You have to count the unique words. What steps would you use?
1
u/aqua_regis Oct 10 '26
That's the entire point. Giving you everything is not teaching you. You have to figure out.
Stop using Grok. You are only evading the struggle and actually destroying your learning.
Learning programming is first and foremost learning problem solving, not copying what you get served and spoon fed.
Try the MOOC Python Programming 2026 from the University of Helsinki. Embrace the struggle. Stop using AI. Fight, struggle, fail, fix, succeed. Do not take the easy road out.
1
u/Orgasml Oct 10 '26
Can you use a for loop? Also, look into the set() function and I'm sure you can figure it out.
1
u/thisisappropriate Oct 10 '26
Its possible that doing early lessons/exercises that there may be things you do in less optimal ways to fit with what you've learned. Or that you'll be using things that have previously been mentioned (not in this lesson).
Taking a look at older versions of Grok Learning, assuming things come in the same order, this would be possible to do with what comes before.
If reviewing earlier lessons/exercises, you would be looking for the keywords in (in if statements), append and len.
Part of programming is learning to use reference - how to google, use documentation, etc. So there's no harm to your learning to google something like "how to add to list python"
0
u/[deleted] Oct 10 '26
[removed] — view removed comment
0
u/[deleted] Oct 10 '26
[removed] — view removed comment