What is the issues?
Try c++ or JavaScript I can’t do Python I hate it despite being ok at most languages.
Don’t use chatgpt for this kind of thing. It absolutely sucks for programming stuff if you can’t already spot goofs in the code, because it will make them regularly, and if you can’t spot them yourself, they will torpedo your entire project. Debugging tools will be of limited help.
Start with a project you feel would make your life easier, then work out how you want to get from A to B. Maybe you want something that can fetch you something from the web every day? For that you can look into the ‘requests’ library to make web calls.
If you need help, I’ve been doing Python code for the best part of 10 years. Holler at me if you want help!
Programming is hard and requires you to think in a different way than how we think most of the time.
This is the hardest part, learning to think in algorithm. You can learn that with most languages, once you know it it’s much easier to learn another programming language.
Start with some simple tutorials, only use ChatGPT to help you understand some concepts or pieces of code, not to write the code. You can’t really learn shit if you’re not forcing your brain to think that way.
It takes time, like weeks to start to become kinda comfortable with basic programming. Start with conditional structures (if, else), loops (while, for) variables and functions. That should already allow you to create some fairly complex programs.
If I may, I would heavily suggest you to try to learn C, as it’s a much lower level programming language that has almost no hidden logic, where python comes with a whole lot of integrated features that make it hard to really learn and understand what’s really happening.
Good luck! 👍
Python is a big, complex language with tons of libraries and obscure features. IMO you should focus on learning the fundamentals of the language and computer programming in general, and then how to use the primary libraries you’ll need. Take it slow.
Since you mentioned elsewhere that you’re not into book learning, try this 8 hour video. Eventually, you’ll have to sit down in front of a computer and write out some code. This video does give you some projects to start with. If it’s your first programming language, then yeah, it might take 8 hours of studying to grasp.
Do you already know other programming languages, or is Python your first one?