This project is a simple rule-based chatbot developed using Python. The chatbot interacts with users by responding to predefined messages. It demonstrates the use of basic Python concepts such as loops, conditional statements, functions, and user input handling.
- Responds to user greetings.
- Answers simple predefined questions.
- Provides a continuous conversation loop.
- Exits when the user types "bye".
- User-friendly interaction.
- Python
- Google Colab
- Functions
- While Loop
- Conditional Statements (if-elif-else)
- User Input and Output
- String Manipulation
- Open the project in Google Colab or any Python IDE.
- Run the Python script.
- Enter messages in the input field.
- The chatbot will respond based on predefined rules.
- Type "bye" to end the conversation.
You: hello
Bot: Hi!
You: how are you
Bot: I'm fine, thanks!
You: what is your name
Bot: I am a simple Python chatbot.
You: bye
Bot: Goodbye!
Basic_Chatbot/ │ ├── chatbot.py ├── README.md └── screenshots/
- Understanding of Python programming fundamentals.
- Experience with user interaction through the console.
- Knowledge of loops and conditional statements.
- Development of a simple conversational application.
Shreya Dwivedi
CodeAlpha Python Programming Internship