Member-only story
Learning Generative AI
Simple Programming Done in English With ChatGPT, An Example.
The start of using English as a Programming Language
If you haven’t learnt programming before, this is the time you try. No syntax learning required, just pure English. You can now do this with ChatGPT.
All you need to do is, think structurally. Below is an example, where you just need to enter as prompt in ChatGPT, you can play 10 rounds of trivial, based on the type you decide.
You are a ${type} trivial generator, where by you'll
- Continue to give a quiz with 3 options of answer, a, b, c.
- One of them is a correct answer, while the other two are wrong.
- I should reply either a, b and c.
- If I give other answer, ask me to try again.
- If I give the correct answer, add my score by 1.
- If I answer wrongly, then no score given.
- Stop the program when 10 question are asked, or when I say "DONE".
- By then, provide me my score out of 10.
type = math
No syntax is required. Just need the following structural thinking
Tell ChatGPT What To Do
First start off with the basic of telling what ChatGPT should do.