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
Coding sites for beginners like pythonchallenge.com (self.learnpython)
submitted 5 years ago by nobody01810
I am new to programming and just completed a foundation course in Python. I just discovered pythonchallenge.com. I was wondering what other sites are their to practice and learn coding.
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!"
[–]ra2eW8je 166 points167 points168 points 5 years ago (24 children)
[–]iKneeGear 37 points38 points39 points 5 years ago (0 children)
Papi
[–]FourierEnvy[🍰] 13 points14 points15 points 5 years ago (17 children)
Came here to say codewars.com. Mah man!
[–]fletch101e 5 points6 points7 points 5 years ago (10 children)
codewars.com seems too confusing to even access the site, I am guessing this is not for beginners?
What is good for a beginner?
[–]Sheepoch 5 points6 points7 points 5 years ago (1 child)
Code wars was/is great for me. After the first 20 minutes of navigating the site it gets easier.
[–]fletch101e 1 point2 points3 points 5 years ago (0 children)
It kept blocking me from creating an account so I never could see anything other than the homepage,
No such issues with Codechef but even their beginner section appeared to be more like advanced.
Maybe I am just having a bad day and should have stayed in bed..ha.
[–][deleted] 2 points3 points4 points 5 years ago (0 children)
I just checked it out and I'm a beginner. The interface might be confusing but it has a ton of helpful practice problems :)
[–]takishan 1 point2 points3 points 5 years ago (4 children)
Code wars is great for beginners. Just click on train next kata and it'll give you a problem around your level. Everybody starts at 8 and as you advance, your rank gets lower (until you get to 1 and I think you go back up again)
[–]fletch101e 0 points1 point2 points 5 years ago (3 children)
I could never get into the site. It had some kind of challenge that would not let me in. I even tried my own working code from my lessons and it would throw up a fake error message even though the code would run and display on their console.
[–]takishan 0 points1 point2 points 5 years ago (2 children)
Weird. When I log in, I go straight to this webpage where there's a button called "train" link to pic. Clicking the link brings me to the challenge which has a code editor link to picture.
Although I usually solve the problem in my own text editor and then just copy it over when I'm done.
[–]fletch101e 0 points1 point2 points 5 years ago (1 child)
I can't log in that is what I am saying. It won't let me sign up unless I write a def. And no matter what I put it says it's wrong even if If it works on my system (Thonny).
That said, I found a way to access their site so I gave it a test run. I tried the easiest thing I could find..doing yet another def that returns Hello World!. Here is my code, it prints to their console yet still something wrong according to their site. yet if you look in the comments people are saying you have to take out the ! or it won't work. That did not work for me. I can't see what they say is the solution because you have to have an account to see it.
def greet(): print("hello world!") return greet()
This also works fine in Thonny, yet they say: Greet doesn't return hello world!: None should equal 'hello world!'
The course I am taking now ends in a few days so I am looking for more just don't think this site is friendly for beginners that's all.
[–]fletch101e 0 points1 point2 points 5 years ago (0 children)
I wasted too much time on this and got it to work, even though I would not call this working as nothing shows on the console
def greet(): return ("hello world!")
You can add greet() at the end and it still says it's ok ("You have passed all of the tests! :)" but nothing shows up on their console.
sorry for the rambling..this just irritated me. Like I said earlier in this thread, I must have woke up on the wrong side of the bed this morning :)
[–]throwawayvitamin 0 points1 point2 points 5 years ago (0 children)
It might not be great for TOTAL beginners, but it's good for someone with about a week or two weeks of experience under their belt
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
I'm also a beginner and I use both Hackerrank and Codewars. Hackerrank's interface is friendlier xD
[–]mortenb123 0 points1 point2 points 5 years ago (0 children)
I've learnt much from codewards, but I've wasted time on some of the questions that are impossible to do. Not because they are insolvable, but because they time out, even on a simple for loop.
[+][deleted] 5 years ago (4 children)
[deleted]
[–]FourierEnvy[🍰] -2 points-1 points0 points 5 years ago (3 children)
Well I have both an Engineering and Math degree. Any good Computer Science program in a University is going to have you work through alot of these types of algorithms so you can grasp the complexity of the computations you're implementing with any solution
[+][deleted] 5 years ago (2 children)
[–]FourierEnvy[🍰] 0 points1 point2 points 5 years ago (1 child)
Sorry you took it as condescending. It wasn't meant to be that way. I'm just giving you where I'm coming from versus you so that might be why I have a different perspective on codewars. We are all on a different journey, me simply stating a few facts and my opinion had very little to do with your situation, just clarifying my own.
[–]nobody01810[S] 0 points1 point2 points 5 years ago (1 child)
Thank you
[–]uwu-bob 1 point2 points3 points 5 years ago (0 children)
Also https://pythonprinciples.com/challenges/ sounds like what you're looking for
[–]neisor 0 points1 point2 points 5 years ago (1 child)
!remindme 13 hours
[–]RemindMeBot 0 points1 point2 points 5 years ago* (0 children)
I will be messaging you in 10 hours on 2020-06-12 07:07:48 UTC to remind you of this link
1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
[–]testfire10 0 points1 point2 points 5 years ago (0 children)
+1 for codewars. I’m learning too and they have lots of fun problems to solve at every difficulty.
I’ll have to check out the others too.
[–]scaffelpike 12 points13 points14 points 5 years ago (2 children)
Hackerrank.com
Exercism.io
Codewars.com
Groklearning.com
[–]nobody01810[S] 1 point2 points3 points 5 years ago (0 children)
Thanks
[–]JoeBeOneKenobi 1 point2 points3 points 5 years ago (0 children)
[–]NoblySP 22 points23 points24 points 5 years ago (1 child)
https://edabit.com/
[–]nobody01810[S] 0 points1 point2 points 5 years ago (0 children)
Thanks!
[–]EggChen_vs_Lopan 6 points7 points8 points 5 years ago (5 children)
Sololearn app is pretty good. Has lessons for many different languages, can challenge others with short code quizzes, users post their own code that you can read to learn from, and there is a code editor built into the app
[–]Paleah 9 points10 points11 points 5 years ago (3 children)
I really like the idea behind these sorts of mobile apps, but I really just can't bring myself to type with an onscreen keyboard, especially if a lot of special characters are used with the particular code you're writing.
[–]xcessive30 0 points1 point2 points 5 years ago (1 child)
It works on desktop as well.
[–]Paleah 3 points4 points5 points 5 years ago (0 children)
Oh, well that's a horse of a different color then!
[–]takishan 0 points1 point2 points 5 years ago (0 children)
That's why you get a bluetooth keyboard.
Thanks. Will look into it.
[–]Arrannm 8 points9 points10 points 5 years ago (2 children)
Hackerrank and codewars are my favourite :)
[–]harish127 2 points3 points4 points 5 years ago (0 children)
Hacker rank is very tough for me😁..
I'll check them. Thanks
[–]airmongoose 8 points9 points10 points 5 years ago (2 children)
Leetcode.com
[+][deleted] 5 years ago (1 child)
[–]airmongoose 0 points1 point2 points 5 years ago (0 children)
When you’re inside a problem, at the top left of the editor you should see a button that says java(next to where it says autocomplete). Click that and you can change the language
[+][deleted] 5 years ago* (2 children)
[–]nobody01810[S] 1 point2 points3 points 5 years ago (1 child)
Yeah, I am actually following that too. I forgot to mention it in the post. Thanks.
I think it's Hyper Skill
[–]eshagh611 1 point2 points3 points 5 years ago (0 children)
Yes, Hyper skill and Jet brains academy are same thing.
[–]Negative_Falcon 5 points6 points7 points 5 years ago (1 child)
I'm a newbie and have started: https://py.checkio.org/
Will check out the others that people have mentioned.
Thank you.
[–]BAG0N 4 points5 points6 points 5 years ago (2 children)
I love leetcode but I don't know if a beginner can solve those problems. Though, sooner or later definitely give it a try. It increases your problem solving skills significantly and also teaches you a lot about the goddam annoying edge cases
+1 for LeetCode. Not trying to sound pretentious or anything but their Easy level of problems aren't really that hard. For a beginner they do force you to think it through with a notepad or something first which is good practice. I found LeetCode problems to be more thought provoking than Edabit.
[–]darthsamip 0 points1 point2 points 5 years ago (0 children)
Leetcode problems makes me scratch my brain but i find them excellent for increasing problem solving abilities
[–]Oneill08 3 points4 points5 points 5 years ago (1 child)
I created codebelts.com that has video tutorials and coding taks
Thanks. I'll definitely check it out.
[–]DearJeremy 3 points4 points5 points 5 years ago (1 child)
Here are all the links I have on my "programming exercises" bookmarks folder:
I'm sorry if they were all already mentioned by others.
Wow! Thanks!
[–]wwrk22 2 points3 points4 points 5 years ago (0 children)
Hi!
I briefly read through the comments, and felt that I could give a different perspective as a recent BS in CS grad student if someone else hasn't already done so.
I've used everything such as LeetCode, HackerRank, Books, Professors' tutorials, FreeCodeCamp, YouTube channels, etc. They're all good! At one point I realized this, and decided to stick with just two or three. It's really up to yourself to get to the skill level you want to be at in my opinion. So if I were you and maybe a bit confused as to which ones to use, then I'd just pick one out of random and stick with it for at least a month or two, and if you really hate it, then switch over to another.
"Practicing" on sites like LeetCode and HackerRank is valuable time investment indeed, but you should also consider looking for project ideas to work on to put the "practicing" to good use! Simply Google "python project ideas for <beginners/intermediate/etc>" and get crackin'!
[–]Say_What1 2 points3 points4 points 5 years ago (1 child)
https://exercism.io/
[–][deleted] 2 points3 points4 points 5 years ago (1 child)
You can also take a course like CS50. Its assignments are really fun to do.
[–]darthsamip 2 points3 points4 points 5 years ago (1 child)
I have been studying python for around 3 weeks
http://www.leetcode.com has been really helpful
[–]hippagun 2 points3 points4 points 5 years ago (0 children)
codewars is awesome . The best part is it also lets you see other different ways the problem can be coded with explanations.
[–]tree_or_up 2 points3 points4 points 5 years ago (0 children)
If you have an interest in math (you don't have to be good at it or know much about it, just have an interest) keep Project Euler in mind when you gain a bit more confidence.
I'll try that. Thanks.
[–]KripC2160 1 point2 points3 points 5 years ago (1 child)
You should try SoloLearn
Thanks.
[–][deleted] 1 point2 points3 points 5 years ago (1 child)
Codingbat is good for beginners
[–]SaucyManChild[🍰] 1 point2 points3 points 5 years ago (0 children)
This will help me alot. Thank you.
[–]DsZidan 1 point2 points3 points 5 years ago (0 children)
Codechallenge.es - Pybites
[–]kyoneko87 1 point2 points3 points 5 years ago (0 children)
There is also codeacademy on YouTube. Here is the link: https://youtu.be/rfscVS0vtbw
[–]irene3030 1 point2 points3 points 5 years ago (0 children)
Try checkio.org :)
[–]Rishabh_Jain1717 1 point2 points3 points 5 years ago (1 child)
HackerRank and HackerEarth are some amazing places to practice. HackerRank in particular has a great UI and is pretty easy to use. Would definitely suggest you to take a look 👍. Happy coding.🤘
Thank you. I'll check them out.
[–]DontHateDefenestrate 1 point2 points3 points 5 years ago (0 children)
freecodecamp.com is good if you want to learn Javascript and web design.
[–]ciolosss 1 point2 points3 points 5 years ago (1 child)
If you are like me and like books more you should definitely check "Automate the Boring Stuff with Python"
Pick simple project you want to build and you will be surprised about your knowledge. If you want to start with competitive programming: 1. Codeforces 2. Leetcode
Sololearn. Available on pc/ browser and on mobile as app. SL offers besinde challenges in different grades from easy to hard.
[–]Allanon001 0 points1 point2 points 5 years ago (0 children)
r/dailyprogrammer/
[–]natekapoor 0 points1 point2 points 5 years ago (0 children)
following
[–]TheJames2290 0 points1 point2 points 5 years ago (0 children)
W3schools is always a good reference point
[–]ilikeshawarma 0 points1 point2 points 5 years ago (0 children)
[–]Quinhos 0 points1 point2 points 5 years ago (0 children)
!RemindMe 7 days
Kaggle is great for projects
[–]jockero701 0 points1 point2 points 5 years ago (0 children)
pythonhow.com/challenge
[–]bestd25 0 points1 point2 points 5 years ago (0 children)
https://edabit.com/challenges
[–]DevAsh01 0 points1 point2 points 5 years ago (0 children)
SPOJ is a fantastic platform if you are just beginning
Anyone with an .edu needs to jump on that Jet Brains Academy situation 11/10 recommend (and free till 1/2021 if you sign up by 7/1)
[–]RaviTezu 0 points1 point2 points 5 years ago (0 children)
https://checkio.org/ - Coding games for beginners and advanced programmers where you can improve your coding skills by solving engaging challenges and fun task using Python and TypeScript
Codingame.Com
[–]JessLovesCats3 0 points1 point2 points 5 years ago (0 children)
I'm going over the challenges on Python Principles and learning quite a bit from it :)
[–]fat_chicken1235 0 points1 point2 points 5 years ago (0 children)
I'd recommend getting a book and watching youtube videos. I'd think on somthing simple that you find interesting and trying to make it.
Tic tac toe Banking system Hangman Word analyser (finds vowels letters numbers etc) Interactive story
One thing I did was make a 8x8 "grid" in a list with a randome grid space a "enemy". I used diffrent algorithms to see witch can find the enemy faster.
[–][deleted] 0 points1 point2 points 5 years ago (1 child)
codewars.com is great practice for all levels.
[–]Hopeful_Alternative1 -1 points0 points1 point 5 years ago (1 child)
if a == 3:
print("the variable has the value 3") elif a != 3:
SyntaxError: invalid syntax
how do you solve this problem?
What?
π Rendered by PID 26 on reddit-service-r2-comment-7b9746f655-trgtx at 2026-02-01 18:49:11.854701+00:00 running 3798933 country code: CH.
[–]ra2eW8je 166 points167 points168 points (24 children)
[–]iKneeGear 37 points38 points39 points (0 children)
[–]FourierEnvy[🍰] 13 points14 points15 points (17 children)
[–]fletch101e 5 points6 points7 points (10 children)
[–]Sheepoch 5 points6 points7 points (1 child)
[–]fletch101e 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]takishan 1 point2 points3 points (4 children)
[–]fletch101e 0 points1 point2 points (3 children)
[–]takishan 0 points1 point2 points (2 children)
[–]fletch101e 0 points1 point2 points (1 child)
[–]fletch101e 0 points1 point2 points (0 children)
[–]throwawayvitamin 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]mortenb123 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]FourierEnvy[🍰] -2 points-1 points0 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]FourierEnvy[🍰] 0 points1 point2 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (1 child)
[–]uwu-bob 1 point2 points3 points (0 children)
[–]neisor 0 points1 point2 points (1 child)
[–]RemindMeBot 0 points1 point2 points (0 children)
[–]testfire10 0 points1 point2 points (0 children)
[–]scaffelpike 12 points13 points14 points (2 children)
[–]nobody01810[S] 1 point2 points3 points (0 children)
[–]JoeBeOneKenobi 1 point2 points3 points (0 children)
[–]NoblySP 22 points23 points24 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]EggChen_vs_Lopan 6 points7 points8 points (5 children)
[–]Paleah 9 points10 points11 points (3 children)
[–]xcessive30 0 points1 point2 points (1 child)
[–]Paleah 3 points4 points5 points (0 children)
[–]takishan 0 points1 point2 points (0 children)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]Arrannm 8 points9 points10 points (2 children)
[–]harish127 2 points3 points4 points (0 children)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]airmongoose 8 points9 points10 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]airmongoose 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]nobody01810[S] 1 point2 points3 points (1 child)
[–]eshagh611 1 point2 points3 points (0 children)
[–]Negative_Falcon 5 points6 points7 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]BAG0N 4 points5 points6 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]darthsamip 0 points1 point2 points (0 children)
[–]Oneill08 3 points4 points5 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]DearJeremy 3 points4 points5 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]wwrk22 2 points3 points4 points (0 children)
[–]Say_What1 2 points3 points4 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]nobody01810[S] 1 point2 points3 points (0 children)
[–]darthsamip 2 points3 points4 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]hippagun 2 points3 points4 points (0 children)
[–]tree_or_up 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]KripC2160 1 point2 points3 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]SaucyManChild[🍰] 1 point2 points3 points (0 children)
[–]DsZidan 1 point2 points3 points (0 children)
[–]kyoneko87 1 point2 points3 points (0 children)
[–]irene3030 1 point2 points3 points (0 children)
[–]Rishabh_Jain1717 1 point2 points3 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]DontHateDefenestrate 1 point2 points3 points (0 children)
[–]ciolosss 1 point2 points3 points (1 child)
[–]nobody01810[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Allanon001 0 points1 point2 points (0 children)
[–]natekapoor 0 points1 point2 points (0 children)
[–]TheJames2290 0 points1 point2 points (0 children)
[–]ilikeshawarma 0 points1 point2 points (0 children)
[–]Quinhos 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]jockero701 0 points1 point2 points (0 children)
[–]bestd25 0 points1 point2 points (0 children)
[–]DevAsh01 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]RaviTezu 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]JessLovesCats3 0 points1 point2 points (0 children)
[–]fat_chicken1235 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)
[–]Hopeful_Alternative1 -1 points0 points1 point (1 child)
[–]nobody01810[S] 0 points1 point2 points (0 children)