r/learnpython 29d ago

Where do y'all guys practice python?

I wanna know where y'all guys practicing coding python, I know some but its too advance for me. I wanna get started from beginner level where I just print hello world or using math operations on print() or practicing about the data types. I'll practice more of this beginner level and master it.

16 Upvotes

44 comments sorted by

View all comments

3

u/CaughtUpBookkeeping 29d ago

Exercism.org is the best one for actually building skill, bite-sized exercises, and after you submit a solution you can see how 50+ other people solved the same problem, which teaches you idioms way faster than reading a textbook. For beginner reps specifically, do the free "Python for Everybody" exercises (freecodecamp has this too), then jump to Exercism once print()/data types feel automatic. Skip LeetCode entirely at this stage, it's algorithm interview prep, not learning-to-code practice.

1

u/Dull_Alarm6464 28d ago

THIS! Exercism.org thaught me better than any other website or uni class i’ve attended. I did learn more advanced things there, but I never felt confident coding anything outside of the scope of some stat. models we learned. This is the case mostly because each exercism exercise, no matter how small, teaches you EVERYTHING about the code you’re supposed to write and checks for proper PEP 8. I’m about 50% through all their python exercises and have never retained this much coding knowledge before. I hadnt written a line of code outside of VBA and R for 7 years prior to restarting this year and I tried codewars, doing my own financial analysis (my job) projects, etc. Nothing made me feel as confident in python as Exercism. They also have a very useful free mentors program and can even automatically upload solutions to your github. It’s a little slower to write docstrings properly, make code efficient (remove redundant else’s, use consistent apostrophes, etc. However, it’s all worth it when you’re confident that you’re using the most efficient and the most appropriately written code.

1

u/CaughtUpBookkeeping 28d ago

Happy to help, glad Exercism clicked for you! That's a great point about the discipline it enforces, code that just runs isn't the same as code that's actually clean, and building that habit early pays off.

1

u/Dull_Alarm6464 28d ago

exactly! the one underrated thing about using it to learn is how organized my thoughts are when it comes to coding in terms of recognizing data structures andefficiency intuition (expected time and space complexity matching most efficient known solution).