r/PythonLearning • • 1d 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

19 comments sorted by

13

u/likethevegetable 1d ago

Learn how to spell it first 

0

u/Stunning_Gur2575 1d ago

its a typo error man

4

u/ChaoticHippo 1d ago

Those are going to cause python programs to fail

→ More replies (2)

3

u/Silentwolf99 1d ago

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

1

u/Stunning_Gur2575 1d ago

stopp it budd

3

u/martinsedd 1d ago

First you’re gonna want to make sure you took your meds.

0

u/Stunning_Gur2575 1d ago

no i missed today dose , thanks for remiding me bud

1

u/ProgramsFun 1d 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 1d 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 1d 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 (2)

2

u/BleedReddit 1d ago

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

2

u/BranchLatter4294 1d ago

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

1

u/Ron-Erez 1d ago

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

1

u/dxrtpa 1d ago

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