r/learnpython • • 21h ago

Python learning as a beginner

Hey I need some help regarding programming python? Where am I supposed to begin? How to embrace the language? People say that you just dive in and you’ll start learning it, I tried but I go stuck, need serious help, please

11 Upvotes

33 comments sorted by

View all comments

1

u/Snoo61755 21h ago edited 21h ago

What's your experience with learning any programming languages at all? Is Python your first?

There are bootcamps here or there where you can follow a lesson plan, but not all of them are free, so you might have to dig. They'll teach you the super-basic stuff like an if/then/else statement ("if this condition is true, then do this, otherwise do that") or a while loop ("while this condition is true, do this repeatedly as long as condition is stays true").

A lot of programming is logic, the language you choose is just what you type to convey that logic. A bootcamp should be able to show you the very basics, since you won't be able to do much in any language until you know what an attribute or a function is.

-1

u/Routine_Version7129 20h ago

Yes it’s my first and people say it’s the foundation of ai and I want to master it

1

u/Snoo61755 20h ago

Boot camp, then.

I use codecademy, so I can vouch for it, but there's others.

Go until you can figure out how to make your own little functions. For instance, you should be able to be able to do little mini-programs like...

-give a user instruction like "hello, type in a number!"

-Take that user's instruction, save it as a variable

-Do some kind of math or w/e to that variable

-print the end result of the math back out to the user

This involves some of the suuuuper basic instructions built into python ( input() and print() ), and how to manipulate a variable.

You're not going to get much more out of reddit posts, start doing a boot camp so you can actually see what I'm talking about.

1

u/proverbialbunny 16h ago

Is there no programming classes at your school, or does your local junior college have night classes? That's going to be the best way for an absolute beginner. This way you get to ask questions and get help.

It doesn't have to be Python. Any programming language class will do. Once you learn one programming language it's very easy to transfer those skills over to another programming language.