Your Code Companion. 🧑‍💻

A GPT-4 based programming tutor. 100% Free.

Code Companion is a GPT-4 based programming tutor, offering real-time help or feedback. You can ask Code Companion questions on your own programming challenges, ie. LeetCode problems, or work through our curated Python exercises which are designed to help you learn or hone your skills. 100% Free. 🎲

Try it in our Online Editor 📝
  
Learn Python with an AI Tutor 🤖

Python Exercises with an AI Tutor 📚

Get help in our Discord Community

Go through our 62 exercises , which are designed to help you learn or hone the Python foundations.
If you are looking for a challenge, try the exercises in Lesson 5. 😉 Feel free to ask your personal AI Tutor questions, as you work through the sections.

Lesson 0: (Optional) Introduction to Python

This introductory (optional) lesson is intended for those who have never used Python before. It covers Variables, Common Types, Print Statements, Basic Arithmetic, Booleans, Comments, and User Input. The exercises in this section focus on getting you comfortable with Python syntax and do not include associated test cases.

Number of Exercises: 3

Lesson 1: Functions and If/Else Statements

This lesson introduces the concept of functions and if/else statements. The lesson walks through a few problems applying these concepts. The exercises are designed to help develop your problem solving skills. Feel free to leverage the AI tutor for additional examples, hints, or feedback.

Number of Exercises: 13

Lesson 2: Strings

This lesson primarily covers exercises involving strings. The exercises also build upon the previous lessons. Feel free to leverage the AI Tutor to generate additional exercises or examples for practice.

Number of Exercises: 12

Lesson 3: Lists and For Loops

This lesson introduces the concept of Lists and For Loops. The exercises are designed to leverage these new concepts, along with the concepts from previous lessons.

Number of Exercises: 14

Lesson 4: While Loops

This lesson introduces the concept of while loops. Many of the exercises are similar to those in Lesson 3, but instead require you to use while loops.

Number of Exercises: 10

Lesson 5: Dictionaries and Bringing it all together

This lesson introduces dictionaries. The exercises in this section are more challenging, building upon all the previous concepts.

Number of Exercises: 10

Subscribe for new features or updates 🖲️

we will never spam you...