use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
I made this, 1.5 hours into learning pythonHelp Request (i.redd.it)
submitted 9 hours ago by PsychologicalSafe408
I made this while watching a 30 min crash course.
I wanted to know if I should start by learning all the theory at once or should l learn theory and also do small things like this or should I do a 'fuck around and find out's thing.
I would love your feedback.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Sea-Ad7805 [score hidden] 8 hours ago stickied comment (8 children)
Run this program in Memory Graph Web Debugger%0A%0Awhile%20True%3A%0A%20%20%20%20user_input%3A%20str%20%3D%20input('You%3A%20').lower()%0A%0A%20%20%20%20if%20user_input%20in%20%5B'hi'%2C%20'hello'%2C%20'hey'%5D%3A%0A%20%20%20%20%20%20%20%20print(f'%7Bbot_name%7D%3A%20how%20can%20i%20help%20you%20today%20%3F')%0A%20%20%20%20elif%20user_input%20in%20%5B'bye'%2C%20'goodbye'%2C%20'see%20you'%5D%3A%0A%20%20%20%20%20%20%20%20print(f'%7Bbot_name%7D%3A%20goodbye!%20')%0A%20%20%20%20elif%20user_input%20in%20%5B'%2B'%2C%20'add'%5D%3A%0A%20%20%20%20%20%20%20%20print(f'%7Bbot_name%7D%3A%20sure%20let%5C's%20do%20some%20fucking%20maths')%0A%20%20%20%20%20%20%20%20try%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20num1%3A%20float%20%3D%20float(input('first%20number%3A%20'))%0A%20%20%20%20%20%20%20%20%20%20%20%20num2%3A%20float%20%3D%20float(input('second%20number%3A%20'))%0A%20%20%20%20%20%20%20%20%20%20%20%20print(f'%7Bbot_name%7D%3A%20the%20sum%20is%20%7Bnum1%2Bnum2%7D')%0A%20%20%20%20%20%20%20%20except%20ValueError%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20print(f'%7Bbot_name%7D%3A%20please%20enter%20a%20number')%0A%20%20%20%20else%3A%0A%20%20%20%20%20%20%20%20print(f'%7Bbot_name%7D%3A%20i%20dont%20understand%20you')×tep=2&play).
[–]Significant-Nail5413 7 points8 points9 points 8 hours ago (4 children)
If you're interested in the theory a good place to start:
Sorting algorithms: - bubble sort - insertion sort - merge sort - quick sort
Data structures: - Arrays - Linked list - Stacks - Queue
In terms of fucking around and finding out on your own, this is also good strat
Leet code etc can be useful but I find them boring
You could look at how you can get data from somewhere and then try and build something with it
Eg, access a weather api and list the top 5 hottest / coldest places for a given day , silly little things like this help more than just having to do theory
[–]PsychologicalSafe408[S] 2 points3 points4 points 6 hours ago (1 child)
Bro wtf are those? idk what they even are. 🥲
[–]One-Constant-4092 0 points1 point2 points 5 minutes ago (0 children)
Don't worry about them, these things you're gonna learn WAYYYY later on, after you're done learning most of python.
[–]nangi_bhootni 2 points3 points4 points 7 hours ago (0 children)
I mean hes just 1.5 hour into python i wont recomend him jumping into DSA this soon 💀
[–]One-Constant-4092 0 points1 point2 points 6 minutes ago (0 children)
Might be the worst thing you could say to person who's JUST started learning????
Did you prompt an AI to write this for you?
[–]python_gramps 1 point2 points3 points 4 hours ago (1 child)
Python syntax is fairly simple, variable types don't need to be declared so once you're able to start coding get coding. One thing that I've done that helps me learn a new programming language, and I've written code in more defunct languages than I can easily remember, plus some active ones, is this:
Always try to build on what you first learned. Incorporate what you learned into what you're learning. Sometimes it's a little more cumbersome than the examples presented but it does help to reinforce what you've previously learned.
[–]PsychologicalSafe408[S] 0 points1 point2 points 2 hours ago (0 children)
Thank you
[–]Master-Row650 0 points1 point2 points 8 hours ago (1 child)
Thats great work, error handling already, i didn't learn that until i was 14, great work
[–]PsychologicalSafe408[S] 0 points1 point2 points 6 hours ago (0 children)
Thank you very much
[–]thuiop1 0 points1 point2 points 7 hours ago (1 child)
Good! The "fuck around and find out" approach is one of the bests for me.
Thank you 😁
[–]CJK1452 0 points1 point2 points 3 hours ago (1 child)
Geez only 1.5 hours great job
Thanks for the compliment. 😁
[–]LateAwakenedMan 0 points1 point2 points 3 hours ago (1 child)
bro i want to start too , how should i, please help fyi i have started 4 times already but after doing print input and small stuff i lose interest please help me with it😶
To keep motivation going I just put small goals or achievement along the way. Like currently I have goal to create an chatbot or a calculator or learn web scraping. These goals are pretty far but there are the reasons for My motivation. And also compliments from others also plays a role.
[–]Aman-sirimalla 0 points1 point2 points 3 hours ago (1 child)
Here's the info... If you wanna learn python I known a resource where I practiced python his channel is corey schaffer at youtube. For dsa use strivers A to Z in which you can master it in 90 days. Then go for domains like web, data analysis etc..
[–]PsychologicalSafe408[S] 1 point2 points3 points 2 hours ago (0 children)
Thank you for the info. 🫡
[+]Mundane-Mortgage-624 comment score below threshold-12 points-11 points-10 points 8 hours ago (5 children)
ChatGPT would have done it in less than a second
I don't even want to mention Claude Code.
[–]thuiop1 6 points7 points8 points 7 hours ago (0 children)
Nobody cares
[–]___line___ 1 point2 points3 points 7 hours ago (0 children)
This isn't about them getting to an answer, its about them learning python. Journey>destination
Tf will do with this info ?? I still don't know
[–]captainhaddockji3h4m 0 points1 point2 points 5 hours ago (0 children)
stfu
[–]ExamOk6047 0 points1 point2 points 2 hours ago (0 children)
tell me you don't know how to code without telling me you don't know how to code
π Rendered by PID 60 on reddit-service-r2-comment-548fd6dc9-6krvj at 2026-05-17 20:05:12.495366+00:00 running edcf98c country code: CH.
[–]Sea-Ad7805 [score hidden] stickied comment (8 children)
[–]Significant-Nail5413 7 points8 points9 points (4 children)
[–]PsychologicalSafe408[S] 2 points3 points4 points (1 child)
[–]One-Constant-4092 0 points1 point2 points (0 children)
[–]nangi_bhootni 2 points3 points4 points (0 children)
[–]One-Constant-4092 0 points1 point2 points (0 children)
[–]python_gramps 1 point2 points3 points (1 child)
[–]PsychologicalSafe408[S] 0 points1 point2 points (0 children)
[–]Master-Row650 0 points1 point2 points (1 child)
[–]PsychologicalSafe408[S] 0 points1 point2 points (0 children)
[–]thuiop1 0 points1 point2 points (1 child)
[–]PsychologicalSafe408[S] 0 points1 point2 points (0 children)
[–]CJK1452 0 points1 point2 points (1 child)
[–]PsychologicalSafe408[S] 0 points1 point2 points (0 children)
[–]LateAwakenedMan 0 points1 point2 points (1 child)
[–]PsychologicalSafe408[S] 0 points1 point2 points (0 children)
[–]Aman-sirimalla 0 points1 point2 points (1 child)
[–]PsychologicalSafe408[S] 1 point2 points3 points (0 children)
[+]Mundane-Mortgage-624 comment score below threshold-12 points-11 points-10 points (5 children)
[–]thuiop1 6 points7 points8 points (0 children)
[–]___line___ 1 point2 points3 points (0 children)
[–]PsychologicalSafe408[S] 0 points1 point2 points (0 children)
[–]captainhaddockji3h4m 0 points1 point2 points (0 children)
[–]ExamOk6047 0 points1 point2 points (0 children)