In preparation for Python interview coding questions I’m trying to create a chatGPT prompt to create simple coding question around particular subject areas. For example, I would like help with a prompt to create coding questions around If, elif, Else statements, or For loops etc… The prompt should also include the actual answer or code.
I hope my question isn’t too vague
There are several methods for this. What have you tried so far? Have you asked it directly to provide some python training questions for you to handle on your own? A simple request like “Please provide me some python exercises exemplifying [whatever concepts you’re interested in] so I can prepare for my interview” Should work. You can also have it ask the questions first, provide what you think is the answer in the next prompt, and it should walk you through everything.
Let me know if that helps or if you need more thorough guidance!