This is a simple Python-based rule-based chatbot that replies to user input using a set of predefined responses. It's designed to run in the terminal and can hold a basic conversation with the user. Perfect for beginners who want to get started with Python, logic, and building simple AI-like behavior.
chatbot.pyβ The main chatbot script
- Make sure you have Python 3 installed on your system.
- Open a terminal in the project folder.
- Run the chatbot using:
python3 chatbot.py
π¬ Sample Chat
You: hi
Bot: Hello there! How can I help you today?
You: what can you do?
Bot: I can answer simple questions. Try asking me something!
You: bye
Bot: Goodbye! Have a great day!
π§ Tech Used
Python 3
Simple if/else logic (rule-based responses)
Terminal interface (CLI)
π What I Learned
Handling user input in Python
Creating condition-based responses
Writing clean and readable Python code
Pushing projects to GitHub
Made with β€οΈ by Muhammad Emdadur Rahman