Which AI is best to create python questions
Posted by After-Rush3268@reddit | Python | View on Reddit | 5 comments
Hi, I’m an Educator for 11-16 year olds and quite often struggle to find good outputs for code analysis and generating python code. I currently use GPT premium, can anyone recommend a good AI platform or how I could improve my inputs so Chat GPT doesn’t change the code. Thank you
sudonem@reddit
My strong recommendation is going to be avoiding the use of AI for code while trying to help the students learn.
I don’t mean to say they shouldn’t learn the AI tools. They absolutely should - but not until they are at a point of understanding the fundamentals.
The Ai tools are definitely a force multiplier and can be amazing - but using them before grasping the basics of Python syntax and the basics of OOP really seems to have a negative impact on the learning process.
Furthermore - rote memorization isn’t the most effective approach.
The biggest mistake people can make when learning to code is saying “I’m going to learn X programming language”. What does that mean? Memorizing every key word and function in the entire language doesn’t actually teach you to write effective code.
Rather than generating questions & quizzes - they need projects to work on. Actually have them build things. And avoid having them rely on AI. At least at first.
Something like Eric Matte’s Python Crash Course is what I’d really recommend for anyone.
The structure is such that you spend time laying the fundamental ground work, but then you get right into actually building things. The last third of the book is just a few different types of application projects and I bet your students would be more into that (one of the projects is to create a space invaders game) since it’s pretty much instant feedback.
The program works or it doesn’t.
After-Rush3268@reddit (OP)
I’m struggling with chat gpt analysing the code as it is originally given and then producing scenarios for students to create and adapt code
After-Rush3268@reddit (OP)
With the course I am running we get a Skeleton code, when I put it into gpt to ask it to create me questions to analyse for my students and break down the sections so I can understand it, it begins to change the code.
fnord123@reddit
This isn't python related specifically. Its also probably prompt related.
Are you using a chat interface or an agentic interface (codex, opencode, etc)?
There's not enough information here to help you specifically.
If you're trying to come up with nice inputs you can ask the LLM to not change the code and simply generate inputs or outputs. You can also explain how to run the program from the shell and it will usually do that for you. It's not clear what aspect of this you are struggling with.
ManBearHybrid@reddit
Can you explain the problem a little more? What are "good outputs for code analysis", and what do you mean by "so Chat GPT doesn’t change the code"
Perhaps you could give an example of the type of thing you're trying to create?