As part of my job search, I'm being introduced to a new language: Python. As the proud owner of a primate brain on the one hand, I'm well aware of the power that , in the context of learning, can have on me. gamification As a technophile on the other, I couldn't miss the emergence of artificial intelligence tools, notably the conversational AI phenomenon that is ChatGPT, developed by OpenAI. How can ChatGPT help me discover Python while making the experience as fun as possible? FROM ChatGPT - the Generalist TO ChatRPG - the Python Expert Although powerful, ChatGPT is even more so when subjected to . So, I've defined how I want ChatGPT to take charge of training me in Python, following a certain formalism to give it as much as possible: role-playing context The role of the AI: ChatGPT will be a Python expert with a strong propensity for teaching. What I expect from the AI: ChatGPT will have to introduce me to the most common syntax and methods of the Python language. The method: in order to achieve this, I want ChatGPT to propose a series of exercises, I'll tell it I have a certain amount of knowledge (JS), and I'll ask it to provide me with external documentation so that I can explore the notions that I am learning further (and, moreover, it will allow me to check that ChatGPT isn't fooling me). The way: finally, I introduce the notion of gamification of my learning, specifying my minimum expectations on this subject: (RPG, Mage, notion of XP). Become a Powerful Mage Initially, ChatGPT provided me with a series of "exercises"; even though it's called that, it's nothing more than code extracts enabling me to grasp the basics of Python syntax. As agreed, he provided me with documentation, gave me experience so that I could level up, and listed the skills acquired during this first phase. Having reached Level 7, I asked ChatGPT to provide me with a more substantial challenge than simply copying code into my IDE. Notice how OpenAI doubts my kindness when I ask ChatGPT to kick some ugly monsters in the teeth. After having been congratulated on my perspicacity facing this first boss, which I easily swept aside, and then provided with a new code-copying "exercise", I had to face my . first real challenges OMG, The Data Dragon! Unimpressed by the enemy, and helped by good , I naturally . documentation slaughtered the hot breathed creature This is where learning via conversational AI makes sense. ChatGPT is capable of providing an while between the two proposals. We'll see a little later that it's capable of being even more complete when it comes to analyzing the code I propose. alternative solution explaining the difference The other advantage is the ease with which you can "shape" the conversation. This way, I was able to obtain an Artifact, and that's . dopamine directly in the veins Yeah I claimed, so what?!? A bit of lore, it's always nice. The Pythonic Monster! After a new series of exercises/lessons, a few questions about instruction 'with', a little challenge on how to throw exceptions, some article reading, and a lot of leveling-up; I asked to take on a . ChatGPT offered me a multi-stage challenge (a succession of small algorithmic problems), with the promise of a chest full of well-deserved loot : new monster Once again, ChatGPT provides a and is complete enough to demonstrate the advantages of its solution over mine. quality correction What's more, I got a really cool amulet! Make ChatRPG Even More RPGed With an MCQ At this stage of my discovery of Python with ChatGPT, I thought it would be a good idea to check that I'd acquired the concepts I'd seen previously. So I asked the AI to generate an MCQ for me, which I included in an encounter with an NPC (non-player character), with the promise of being rewarded with a if I succeeded. familiar So, after answering the questions of a (probably Gandalf undercover), I was able to choose a companion for the rest of my adventure. strange but clever peasant Aware that I sometimes find it difficult to and my code, I've chosen to fight my next battles alongside the Shadowstalker. The beast has a whole arsenal of techniques that will enable me to be more efficient in the future. factor optimize ChatGPT lets me apply a different reading to my code I've identified beforehand! So, I can ask for specific feedback without having to define what kind of feedback I need. according to the needs Here, for example, is the first of the techniques applied to a problem I was given on a quest further along my initiatory journey: the aim of the problem was to generate all the prime numbers up to the number entered by the user. It's got style! Conclusion Considering what I already knew about ChatGPT, the AI has lived up to my expectations regarding its ability to support the discovery of a new programming language. I was, however, very enthusiastic about its ability to bring a gamification layer to the process. Here, in no particular order, is a list of the pros and cons I encountered during my experience: Pros: Quick and easy to set up. Adaptable over time. Satisfactory progress overview. Lore is ok. Ability to correct behavior that doesn't meet your expectations. Possibility of re-launching the latest ChatGPT contribution if it doesn't suit you. "Wow, it can do that ?!" effect. Cons: Commits a few errors and inaccuracies: for example, the first version of the MCQ included a question to which no answer could be given. Requires reminders from time to time: "Don't forget to provide me with documentation", "give out rewards for success", "you must include my progress in the general Lore of our conversation", etc. A few tips if you want to try out this way of learning: Don't use this method on a subject you don't know too much about! If ChatGPT makes a mistake or lies to you, you won't know. Give it as clear and precise information as possible. Don't give it too many instructions at once. At the end of my experiment, I tried to automate the way it generates learning and challenge phases, in a prompt of around thirty lines and with sometimes complex instructions. The result? I broke everything! Nothing beats the expertise of a human being! Pedagogy is a virtue that's reserved for us, the machine is currently unable to appreciate precisely what a student needs to get the most out of what he/she's learning. If you want to be trained in the best possible conditions, call a professional. Bonus I asked ChatGPT to provide me with prompts to generate images using . Stable Diffusion ChatGPT : He's not wrong. What about ? Vast subject. copyright management for artists present in datasets used to train models Thanks!