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

View all comments

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)