r/learnpython • • Feb 20 '21

What are you having difficulty learning or are currently struggling to learn?

I'm curious what the community here has difficulty with when it comes to learning Python. Partly because I want to see if the more experienced community here (or myself) can help point you into the right direction. . . but also because I'm trying to come up with video tutorial ideas for future content and would love to hear from Python learners what would be most useful to dedicate our time on.

I'm looking forward to hearing what you guys have to say!

417 Upvotes

324 comments sorted by

View all comments

Show parent comments

7

u/Nythious Feb 20 '21

A few fun ones we did recently:

Creating RPG abilities as functions and making 2 variables (Health Point tracker) fight each other using the abilities. (lots of fun learning randomness, health changes, attack order, etc)

Building RPG Character Classes (more complex than above - really challenging building the classes out and making the methods work and such)

Translating all the words in "Three Little Pigs" using googles definition API. (lots of text prep work, dedupe, use of stop word list, and API)

We also want to do a madlibs one soon but haven't had the chance to set that up yet.

but there's tons of challenge sites out there too!

1

u/[deleted] Feb 20 '21

Nice! Thanks for the suggestions!

I’ve been thinking of creating a game that I play in person with friends, but I’m coming to the realization it will be nearly impossible.

It’s a game where we come up with a story of an event, then we only tell parts of the story, and everyone else has to find out what happened in that event. The kicker is that, they can ask ANY question, so long as the answers are “yes” or “no”. Or maybe “irrelevant” if off-topic. The main issue is that I would have to code every single possible question someone would come up with to match with the right answer. And it is virtually impossible to do that unless maybe using some kind of machine learning or AI.

2

u/MaraudingAvenger Feb 20 '21

Or make a utility to track stats or something on a game that you already play -- or something like workout routines, etc.!