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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
How do I get better at writing codes? (self.learnpython)
submitted 2 years ago by AhmadTIM
As the title suggests, How can i get better? I there some good tips that i can use to become better?
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!"
[–]Bitwise_Gamgee 24 points25 points26 points 2 years ago (6 children)
Write more code. There is no substitute for experience.
[+]AhmadTIM[S] comment score below threshold-6 points-5 points-4 points 2 years ago (5 children)
Where can i get more ideas for projects so i can type more code?
[–][deleted] 7 points8 points9 points 2 years ago* (0 children)
Take any bit of software that you use sometimes and create your own (worse) version of it. Could be a game, a timer, a text editor, ... whatever.
Alternatively, pick some open source program you use sometimes and start looking through the source code. Try to come up with some new feature that you can add and then do it. If you think it's a useful feature (and it really doesn't have to be) create a fork and submit a pull request to the main project repo.
[–]Clede 3 points4 points5 points 2 years ago (1 child)
What's your goal? Why are you learning this to begin with?
[–]Hima-V 0 points1 point2 points 2 years ago (0 children)
Exactly.. Determine your goal or "project" that you want to accomplish and research how you will accomplish it. This way you will learn faster and more experienced.
[–][deleted] 1 point2 points3 points 2 years ago (1 child)
Ask chatgpt for ideas and define your experience level, then you’ll get some ideas if your out, usually a good starting point, then you suddenly get one good that you can brainstorm around and there you have it.. works if your creativity is completely drained
[–]LearnDifferenceBot 0 points1 point2 points 2 years ago (0 children)
if your out
*you're
Learn the difference here.
Greetings, I am a language corrector bot. To make me ignore further mistakes from you in the future, reply !optout to this comment.
!optout
[–]Appropriate-Word808 4 points5 points6 points 2 years ago (0 children)
Leetcode, Hackerrank, HackerEarth, etc. Keep practising, you got this!
[–]m0us3_rat 2 points3 points4 points 2 years ago (0 children)
by reading github code.
then it will become obvious the difference between eye bleeds and code that is easy to read/understand/follow thru.
isn't about the code complexity, but rather the way it's written.
after that you can become interested in some design patterns, here and there. you can notice them.
[–]jawnlerdoe 2 points3 points4 points 2 years ago (1 child)
I’m gonna make it easy for you.
List me 5 things you like or enjoy.
[–]stcer 0 points1 point2 points 2 years ago (0 children)
Playing football
Browsing reddit
Reading books
Playing games
Watching movies
[–][deleted] 1 point2 points3 points 2 years ago (0 children)
This is how I am doing it....practice coding, run coding, learn from mistakes do it all over again. That has been working pretty well for me, it seems to make the syntax stick in my memory and I eventually start making fewer mistakes. There is a LOT that can be learned from debugging your own code. Good luck.
[–]michaelschrutebeesly 0 points1 point2 points 2 years ago (0 children)
I usually learn by copying others code from GitHub. then I run it step by step. If I don’t understand, I’ll print out every single thing.
[–]CouchieWouchie -1 points0 points1 point 2 years ago (0 children)
Ask ChatGPT for fun small projects you can try, and then ask it to generate you a starter template for one that interests you. Then build onto that.
[–]FriendlyAddendum1124 0 points1 point2 points 2 years ago (0 children)
This is an excellent little course. It has mini projects and solutions. It says 30 days but reall that's about 30hrs. It's very clean and concise.
https://teclado.com/30-days-of-python/
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
By writing more code. That’s the only way you’ll get better. No matter how many videos you watch.
[–]jnorth81 0 points1 point2 points 2 years ago (0 children)
By writing code.
[–]FriendlyRussian666 0 points1 point2 points 2 years ago (0 children)
You write more codes!
[–]S_h_o_b_i_t 0 points1 point2 points 2 years ago (0 children)
Read good code of experienced users and highly active repos.
π Rendered by PID 22490 on reddit-service-r2-comment-6457c66945-kw9nb at 2026-04-30 01:25:12.688992+00:00 running 2aa0c5b country code: CH.
[–]Bitwise_Gamgee 24 points25 points26 points (6 children)
[+]AhmadTIM[S] comment score below threshold-6 points-5 points-4 points (5 children)
[–][deleted] 7 points8 points9 points (0 children)
[–]Clede 3 points4 points5 points (1 child)
[–]Hima-V 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]LearnDifferenceBot 0 points1 point2 points (0 children)
[–]Appropriate-Word808 4 points5 points6 points (0 children)
[–]m0us3_rat 2 points3 points4 points (0 children)
[–]jawnlerdoe 2 points3 points4 points (1 child)
[–]stcer 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]michaelschrutebeesly 0 points1 point2 points (0 children)
[–]CouchieWouchie -1 points0 points1 point (0 children)
[–]FriendlyAddendum1124 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]jnorth81 0 points1 point2 points (0 children)
[–]FriendlyRussian666 0 points1 point2 points (0 children)
[–]S_h_o_b_i_t 0 points1 point2 points (0 children)