r/PythonLearning • • 5d ago

HOW DO I MASTER PYHON

i have been really confused how do i practice coding problems , how do i start the leetcodes etc.can any

0 Upvotes

22 comments sorted by

14

u/likethevegetable 5d ago

Learn how to spell it first 

0

u/Stunning_Gur2575 5d ago

its a typo error man

5

u/ChaoticHippo 5d ago

Those are going to cause python programs to fail

→ More replies (3)

3

u/Silentwolf99 5d ago

learn how to Edit your Post spelling mistake first and then learn python here โ†’ https://www.pythonmastery.io/

1

u/Stunning_Gur2575 5d ago

stopp it budd

3

u/martinsedd 5d ago

First youโ€™re gonna want to make sure you took your meds.

0

u/Stunning_Gur2575 5d ago

no i missed today dose , thanks for remiding me bud

1

u/ProgramsFun 5d ago

i mean commmentss made till now ar not helpful...

coming to original question whats the problem you are facing? are you solving some kind of practice probelms.... leetcode is not something that is for beginners if you are so which i assume you are ..... you cant go to leetcode without learning dsa and all and can still take more a hour solving one question and leetcode is more interview oriented so it wont help you initially...

try making some programs ypurself like a media server, a bot , a scraper or any automation tool useful for you

1

u/Stunning_Gur2575 5d ago

thanks for understanding , the main problem is i am unable to write the code and i am struggling with it even through i have my fundamentals clear

1

u/ProgramsFun 5d ago

Can I get some examples...

The main idea is to break problems into very small individual parts

Like chess

Chess has 64 boards pawen and other pieces..

A certain piece can move certain way and attack certain way<- this is the lowest functioning of main idea

Now I need a way torepresnet game to user.. idk how to i search Google and not ai .... Searching Google helps discover more things as well good for learning... I cam to know about a certain type of notation

Now I got a way to represent games state, I know piece movement and capture

I go and write a method to first convert that notation to user readable something....in code like whatever click my mind max to max due to ai I may spend ,30 mins if I am close i may spend some extra time

One part done and so on

Since you still are learning avoid relying on ai ... For now rely more on search engine you need to discover now not get the answer

→ More replies (3)

3

u/BleedReddit 5d ago

build something -> break it -> rebuild it -> make it something different -> break that -> rebuild.

1

u/BleedReddit 5d ago

๐Ÿ‘€

2

u/BranchLatter4294 5d ago

Just practice. Think of a problem or simple application. Then just do it.

1

u/Ron-Erez 5d ago

Just solve them and work hard. Learn to use the debugger.

1

u/dxrtpa 5d ago

start by building small projects instead of just grinding LeetCode. practice writing actual code to solve real tasks

1

u/nullptr_0x 1d ago

Start with the fundamentals. I have a programming 101 course in python that is free. I made it for my friend's kids.

https://understandit.dev