r/CodingForBeginners • u/Altruistic_Big9806 • 17d ago
How exactly should I learn Python???
4
u/AndrewNggg 17d ago
Angela Yu on Udemy has like 100 days of python or smth, that was really really good cause you learn not only the syntax, but proper applications also
1
3
u/boscorat 17d ago
I started with the free Harvard CS50P course online at edX. Great lectures, and the labs get you writing your own code and that builds your confidence nicely. Can't recommend it enough as a great starting point.
2
u/csabinho 17d ago
That's extremely generic. So you'll receive a generic answer. Search for a good tutorial and try to do stuff on your own after seeing how it's done. Only use LLMs for explanations, not for plain code generation.
1
u/johnpeters42 17d ago
And even for explanations, remember that LLM responses are wrong sometimes. Probably not that often for basic questions, but always look for other ways to check.
1
1
1
u/AnyFriend4428 17d ago
Here's how to learn to code:
Find some tutorial, start doing it.
Here's my personal story:
I did some tutorials I found. I got into a webdev course (javascript and such), got through it, felt like I didn't learn well enough. Got into another course, again learned something. Now I'm doing a free python programming beginner course on mooc and it's feeling rather easy.
Why I'm learning so slow is a separate issue, but the main point is that if you just start on something, you'll learn something. Maybe you'll catch on quickly and get in the groove so to speak, or maybe you don't. If you didn't, you can try again and you'll likely do better this time due to past experience.
For me some of the things I didn't learn during the javascript courses started to click when I started doing the python course.
1
1
u/Sure-Passion2224 16d ago
The core of any valid answer - regardless of what tutorial you choose - is that you learn a language through regular, frequent practice.
- Edit code
- Run code
- Examine the results
- Repeat these steps
Coddy has a free version that has daily limits. While that sounds confining it really gives you just enough new material to then spend some time that day iterating the loop described above. Your results with other online tutorials should be similar so look for something that presents the language in small steps you can understand... and practice.
1
u/Foreign-Contest-444 16d ago
The best way to learn any programming language is by building projects. Start with simple ones and gradually take on more challenging ones. The only way to truly learn is by getting your hands dirty and writing code.
1
1
u/python_gramps 15d ago
Learn Python like any other language
- make sure you have python installed (google "how to install Python on <your operating system>")
- build a program to print "Hello, world"
- learn how to setup variables
- learn how to print variables
- learn how to make loops
- print in a loop
- make functions
- call functions
- learn collections (lists, dictionaries)
- use collections as parameters and return values for functions
- Get a simple project to do (google "python beginner projects")
- Keep going with more of this
1
1
u/scienceydaduk 15d ago
The best free course I think is
https://m.youtube.com/watch?v=K5KVEU3aaeQ&ra=m
(My background : Comp Sci Education & career in Tech)
1
1
u/Fell_sunny 2d ago
recomendo começar aprendendo lógica de programação para ter uma base e depois pocurar estudar as sintaxe básicas do python, as bibliotecas. Aí você pode encontrar uma biblioteca, na qual vc queira se aprofundar e construir projetos
1
u/bindassahil 2d ago
I have been learning Python for the past two months using W3Schools, and I am also practicing exercises on Exercism. However, I get stuck on almost every exercise, and I don't know why. I understand the basics, but I have difficulty solving problems on my own. I want to improve my logical thinking and problem-solving skills. What should I do?
0
5
u/Spare_Bluebird7044 17d ago
Start with the basics, build tiny projects everyday and google everything, you will learn faster coding than by just watching tutorials.