r/learnpython • • 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.

0 Upvotes

15 comments sorted by

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?

2

u/zaphodikus Oct 10 '26

This is literally how a lot of us started, we never had a computer in every house. It takes time, but it does require lateral thinking instead of bashing a keyboard harder.

1

u/Jello_Penguin_2956 Oct 11 '26

tell my brain to use set()

My brain complains it doesnt have that function.

Tried connecting myself to internet to install it.

My... plug hole complains its not compatible with RJ45

1

u/frogic Oct 10 '26

I know its what upvotes are for but this comment is fantastic.

1

u/aqua_regis Oct 10 '26

they give you pieces of how to answer problems but not everything.

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.

0

u/dasgrizzly Oct 10 '26

Not using AI, it's just the learning platform my Prof wants us to use.

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

1

u/dasgrizzly Oct 10 '26

I'm going to go back and take it a bit slower. I found the missing piece I forgot about.

0

u/[deleted] Oct 10 '26

[removed] — view removed comment

1

u/dasgrizzly Oct 10 '26

It was the if word not in words. I'll definitely check those out. Thanks!