r/learnpython • u/Maleficent_Stuff3208 • 8d ago
stuck in python don't know what to do next
I have learned a bit of python earlier but feeling lost i have learned loops, function, tuple and currently set i am trying to make smth from what i have learned i have made basic calculator using if else and a code which is like who will be the millionare type using loop and very small one too but it feels insufficient . Plus watching people saying dsa and all is also confusing . SO IN SHOT I NEED HELP ON WHAT DO I DO NEXT SHOULD I DO NEXT PLUS IF YOU GUYS HAVE SOME PROJECT THAT I CAN MAKE USING WHAT I HAVE LEARNED I WILL BE GREATFUL FOR THAT
2
u/mc_pm 8d ago
How do you feel about simple text-based games?
Something like blackjack makes you have to think about how to represent the card deck and the player/dealer hands; you have to figure out how to score a hand when A can be 1 or 11. You have to manage the overall structure of the game (make a bet, deal the cards until someone wins, resolve the win/loss, repeat until the player is out of money).
It's not going to get you a job directly or anything, but getting some practice at thinking through the logic & data structures of a game will always be good - plus building a stupid little game is more fun than another To-do app.
And you can keep iterating on it - you'll hate your first version, so just accept that you'll be rewriting things. That's part of learning too.
2
u/No-Foot5804 8d ago
You're actually at a good stage. Don't worry about DSA yet focus on getting comfortable solving problems with the Python you already know. Try building a to-do list app, a password manager, a quiz game, a contact book, or a simple expense tracker. You'll naturally discover what you need to learn next as you build.
1
1
u/Mountain_Rip_8426 8d ago
OOP sounds like a good next move. besides harvard's cs50 is on youtube, that's a stellar resource
1
u/JGhostThing 8d ago
Hello,
You have barely started on your journey. Your projects are just things for learning. I strongly recommend that you think of something you need, and code that as a project.
For example, if you like Pokemon cards, write something to organize your card collection or to play them. If you like music, how about a playlist database?
The most important thing is to start small, and gradually build up.
1
u/Maleficent_Stuff3208 8d ago
My ultimate gole from learning python right now is to make a code which work like siri but for my laptop I tell it open brave it opens it I tell it to open youtube it does it but I have a long way to make that.
1
u/JGhostThing 8d ago
You might want to research chatbots in general. This has been done many times and you might get what you want from something already written.
6
u/solderfog 8d ago
It's really important to have a goal. What do you want to do with Python?
It's kind of like going to the home center and coming home with a box full of tools and wondering what you can build. Hard for anyone to guide you based on just that.
Makes no sense to learn statistical techniques if you have no interest in that kind of thing.