Project

Chatbot with Python

Easy
16671 completions
~ 4 hours
4.3

Learn to code interactive chatbots in Python, handle user input, perform calculations, and use loops/conditionals effectively.

Provided by

JetBrains Academy JetBrains Academy

About

Get started building your own simple chatbot! This project will guide you through creating a console-based assistant in Python that can exchange greetings, take your name, and solve basic math problems.
Learn the basic concepts to bring your friendly, calculating assistant to life. You will learn how to take input from users in your program. You will also learn how to make your programs more interactive with if statements and loops. Discover how to declare functions to structure your program. See Python's power and simplicity at work in an interactive project.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Teach your assistant to introduce itself in the console.
Introduce yourself to the bot.
Use your knowledge of strings and numbers to make the assistant guess your age.
Your assistant is old enough to learn how to count. And you are experienced enough to apply a while loop at this stage!
At this point, the assistant will be able to check your knowledge and ask multiple-choice questions. Add some functions to your code and make the stage even better.

Reviews

Anders Dahlgren avatar
Anders Dahlgren
19 hours ago
To organize a rather big program into functions. Why did you change everything in the end? Can this really be called MY project now?
User 622974830 avatar
User 622974830
1 week ago
Learning about control flow and functions really makes it so I am able to program more and more robust programs, that's a great thing.
User 623067728
2 weeks ago
I learned about almost all Python Basics but mostly about loops, logic control and function declarations towards the end

4.3

Learners who completed this project within the Databases with SQL and Python course rated it as follows:
Usefulness
4.3
Fun
4.2
Clarity
4.4