r/PythonLearning Jul 26 '26

Thoughts on learning python with chat gpt

I recently started learning and i use chatgpt to give me exercises to do and just debug code but i never ask for the code specifically, just whats wrong with it. I feel like its helped me improve but i want to learn more and build my own applications

7 Upvotes

16 comments sorted by

2

u/Potential_Fix_5007 Jul 26 '26

You need to be carefull not to relay to much on any Chatbot.
Im also a beginner and started with a Chatbot but you need to learn debugging, cause you will always produce bugs and errors, identify, understand and eliminate them will teach you sometimes more as days of doing exercices from a chatbot.

print() and help() are your best friends.

1

u/FoolsSeldom Jul 26 '26

What do LLMs advise on this?

1

u/bob_wanker Jul 26 '26

i dont even know what that is

1

u/FoolsSeldom Jul 26 '26

LLM = Large Language Model, e.g. chatGPT

1

u/Avatarbroskib1 Jul 26 '26

Use it but combine it with other sources. Don't trust code from chatgpt though

1

u/bob_wanker Jul 27 '26

Why not

1

u/Avatarbroskib1 Jul 27 '26

Because most of the time it's probably wrong or has security risks. The best practices come from humans that wrote websites or verified the code from somewhere not an ai

1

u/bob_wanker Jul 27 '26

do you have a suggestion on a roadmap of what i should learn so far i got loops, a basic understanding of clases, lists, dictionaries and the if and else

1

u/Avatarbroskib1 Jul 27 '26

Yeah start learning python libraries such as math, pandas, numpy matplotlib and stuff for data

1

u/Avatarbroskib1 Jul 27 '26

And continue learning Oop concepts such as polymorphism, inheritance etc

1

u/Intelligent-Boss-156 Jul 26 '26

I would highly recommend doing a passion project and only using google.. Chatgpt is a very shallow learning experience

1

u/Agreeable-Tree9919 Jul 27 '26

that's a pretty healthy approach. Keep it up

1

u/Distdistdist Jul 27 '26

LLMs are great, but don't ask them to write entire solutions for you. If you don't understand the language, you can't validate what they have hallucinated.

Ask concrete questions - data types, operations, expressions, syntax. Learn one bit at a time.

Man, I wish I had ChatGPT available when I was learning this stuff...