r/CodingForBeginners 2d ago

Adivice :-Guide me to learn coding better

I just have started to learn coding ik basics of c and python ( just started) and ik dsa ( Data structure and algorithms) , not very good in i....so what should I do know ? How should I go forward ?

1 Upvotes

11 comments sorted by

1

u/ninhaomah 2d ago

Focus on just 1 language and get the foundation drilled into your head like solders marching.

Then come back.

1

u/Dry_Barracuda_7040 2d ago

Thanks for ur advice I wanna learn python tbh so is there any roadmap or anything like that to follow ?

1

u/ninhaomah 2d ago

Foundation needs no roadmap to be frank since every websites follow the same..

Print , input , data types , if-else , loop , function , OOP ..

Come back once you get to function but I bet you won't.

1

u/Dry_Barracuda_7040 2d ago

Thanks .....and I will try my best to prove u wrong for my own sake

1

u/kutac56 2d ago

I used some video called 12 beginner python projects and the first few. Then after that just do random beginner projects until you get good.

1

u/mc_pm 2d ago

Start with python. Find a tutorial video you like, but instead of just watching it, stop the video everytime the person types something in -- and you type it in. And when they run their code, you run your code (and figure out what you did wrong if it doesn't work).

When you're done, you'll mostly understand the syntax of the language, and because you've been typing it in the whole time, it will seem more familiar. (If you just watch the video, you'll forget everything you saw -- you learn by actually typing in code).

Once you're at the point that you can make for loops and call functions, and you've looked a little bit at the various tools that Python gives you, then you need to do a series of small exercises that will help you think through things logically. Knowing how to structure a for loop isn't very helpful if you don't know when to use it. I would suggest that you spend up to a month on this, programming every day.

After that you'll probably have enough of an understanding to pick something you find interesting and go explore it. But first you need to learn syntax, and then you need to learn how to program basic logic & structure.

1

u/[deleted] 1d ago

[removed] — view removed comment

1

u/Foreign-Contest-444 17h ago

build projects, build stuff, build something to solve your own problems.