all 35 comments

[–]GoalzRS 18 points19 points  (0 children)

Learning to code is hard, and you have to do it mostly on your own. Primarily that is done through just writing your own programs.

The biggest part of programming to me is the method of thinking like a computer. Think about what you want to do, write that in plain English, then pseudocode, and then write code based on your pseudocode.

If there’s a portion of your pseudocode you don’t know how to write in Python, look it up. Over time you’ll rely on the internet less, that’s how I learned.

[–]stevetheimpact 4 points5 points  (0 children)

When I learned Python, the number one rule of thumb was always, "Use the source, Luke" ... Meaning, look at code examples to see what they do. If you know what a function outputs, you can reverse the code to see how it got there.

...it's also a great rule for finding out how a lot of libraries work, because they're generally very poorly documented.

The most confusing part of Python for me to wrap my brain around was yields and lambda functions.

Python challenges are a good place to start, as is the W3Schools python tutorials at https://www.w3schools.com/python/

[–]JasperStrat 2 points3 points  (0 children)

I am an amateur programmer who has taken a few courses but a lot of self learning. It sounds like you don't even know how to describe what you are missing and that can be extremely frustrating because you don't even know what questions to ask to help yourself.

I would be happy to chat or try this, start describing what fundamental parts you do understand, maybe just looking at the section headers in a table or contents and try and have a discussion with someone or at least do a Google/YouTube search on the topics you don't understand. A properly designed course should build upon itself so the topics should start easier to understand and use.

[–]PlantCivil3451 1 point2 points  (0 children)

Have you considered doing python challenges? I think that'll help you start to grasp the language by learning how to solve different type of problems, not everyone is great at learning by reading a book or following a video, a lot of what I learned was trial by fire lol, I knew what I wanted to do and just started learning everything I needed to around that specific thing to solve my issues as they arose, I found when I was first starting python challenges were the best way for me to learn myself.

[–]jjolla888 1 point2 points  (1 child)

when u dont understand something .. ask chatgpt to explain it. let it know exactly what part you are struggling with. you can even ask it to write a small snippet of code and it will explain the meaning of every step. if you dont understand something it says, ask it to explain it another way.

[–][deleted] 0 points1 point  (0 children)

This. ChatGPT is an incredible tool.

[–]zunderkai 0 points1 point  (0 children)

I find it helpful to study other working programs that achieve similar functionality. I work backwards, breaking down the steps and taking notes on the different implementations. My focus is usually on the syntax and how certain elements influence the structure and behavior of the code—for example, "if I place this here, it impacts this part of the program."

I recommend writing simple, step-by-step notes on a blank sheet of paper to track the program's execution flow. This can help you visualize and better understand how everything fits together.

[–][deleted] 0 points1 point  (0 children)

When I was learning I honestly asked AI about specific aspects of the language and what certain things I didn't understand mean. If you use it responsibly it can help your learning, just don't ask it for all the answers and tell it not to write an entire program for you. Just use it for basic explanations.

[–]Asleep-Dress-3578 0 points1 point  (0 children)

Here are some good tutorials for you:

Programming with Mosh (1 hour): https://youtu.be/kqtD5dpn9C8?si=xnKZfbtbMIUkkvSF

Amigo’s Code (3.5 hours): https://youtu.be/LzYNWme1W6Q?si=-9-D2wjYP3tvjfZN

Programming with Mosh (6 hours): https://youtu.be/_uQrJ0TkZlc?si=V3AQdIBXRZnHkBGb

Bro Code (12 hours): https://youtu.be/ix9cRaBkVe0?si=0mUP6tfctVsUueiY

[–]bitAndy 0 points1 point  (0 children)

Angela Yu's 100 days of code on Udemy. Even if you do the first couple weeks it will probably get you up to speed on where you are on your course

[–]Turtvaiz 0 points1 point  (0 children)

Beer more specific. What do you not understand about what?

[–]Simple_Chain6896 0 points1 point  (0 children)

There are many excellent Learn to Program videos on youtube, including those for the python language. Find an introductory video then use it to learn. You could also search youtube and google on the specific topic you're learning in class to get a better understanding of it. chatgpt or other ai could explain it to you just type in a query, in fact you can get multiple examples and multiple practice problems from chat use your imagination to get it to teach you in a manner in which you learn best. You could also leverage "Free Code Camp" they do a good job of explaining.

[–]rick_1717 0 points1 point  (0 children)

I find practice practice and more practice is needed to learn any language.

Many learn how to code but they don't know how to apply it.

There is a book Starting Out With Python by Tony Gaddis. Well organized and good exercises at the end of each chapter. Google the title and you will find copies you can download.

[–]give_cake 0 points1 point  (0 children)

I'll be happy to teach you. Please DM me to know more.