r/PythonLearning • u/2000847 • Aug 04 '25
my program still error can you guys help me
🙏🏻🙏🏻
1
u/zul_u Aug 04 '25
Line 43, you missed the indentation. As it is now it is a function rather than a method of your class. Next time, make sure to read more carefully the error traceback, that gives you very quickly the solution.
-6
u/2000847 Aug 04 '25
i dont understand, I just learned this today, I'm still a beginner and I'm learning independently with the help of AI
4
3
1
u/purple_hamster66 Aug 04 '25
It’s OK to double-check your code with AI, but your initial learning should be the old-fashioned hard manual way. Most teachers agree that you’ll learn deeper and retain lessons longer if you struggle.
If you are stumped, AI will also help get you over that challenge, but don’t use it to create an entire app until you know the basics.
AI is like a drug: it feels good at first and then you’re addicted and can’t work without it. Which only works until they start charging for AI for coding, at which point you are stuck.
1
u/VonRoderik Aug 05 '25
Why are you even trying to use classes without knowing the basics?
Just google CS50p, from harvard/edX. It's free. Take the course.
1
u/ClartTheShart Aug 08 '25
AI can be a great tool for speeding up productivity, but to use it effectively you need to be pretty proficient in the language by yourself.
If you really want to learn, I wouldn't use AI to do any work. It is alright if you ask it a question or two about something specific, but while learning never have it write you code.
1
u/Mrrobinhood55 Aug 04 '25
With what error?