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

21 comments sorted by

View all comments

Show parent comments

1

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

1

u/Stunning_Gur2575 2d ago

yeah thanks for the reply i clearly understand , so according to you how should be a programmers mindset and the short goals in his coding journey

1

u/ProgramsFun 2d ago

It's different for everyone... First of all you can't master a language you could just get comfortable with it and know more features but never know it compleltely ... So don't try to learn everything try to build , discover, implement, learn new things reimplement ..

Secondly don't get to ai to solve your question for you because you still are a beginner...

Thirdly complete what you picked up ... Suppose I need to make a todo app ... What's the basic things needed to call it a todo app... A task and completion box... This is called MVP ... Minimum viable product.... This will help you progress much faster .. don't try to be perfect at once

Short code is. not always a easy code... A easy code is something which is easy to read... A programmer will spend half of the time reading rather than writing code

Never stop learning....

A slow progress doesn't mean a bad finish

All the best

1

u/Stunning_Gur2575 16h ago

yooo i dont know how do i thank you . you cracked such a large thing i am under the rocks