🤖 Basic Chatbot in Python

A simple command-line chatbot built using Python that interacts with users through predefined responses. This project demonstrates the fundamentals of Python programming, user input handling, conditional statements, and conversational logic.

📌 Project Overview

The Basic Chatbot allows users to communicate with a chatbot through text-based conversations. It responds to common greetings and queries, making it an excellent beginner-friendly project for learning Python.

✨ Features

  • 💬 Interactive text-based conversation
  • 👋 Responds to greetings and common questions
  • ⚡ Fast and lightweight
  • 🧠 Simple rule-based response system
  • 🚪 Exit command to end the chat

🛠️ Technologies Used

  • Python 3
  • Conditional Statements (if-else)
  • Loops
  • Functions
  • String Manipulation

📂 Project Structure

Basic-Chatbot/
│
├── chatbot.py
├── README.md

🚀 How to Run

  1. Clone the repository:
   https://github.com/missalishbadilawar-ops/CodeAlpha_Basic-Chatbot.git
  1. Navigate to the project folder:
   cd Basic-Chatbot
  1. Run the program:
   python chatbot.py

💡 Sample Conversation

You: Hello
Bot: Hi! How can I help you today?

You: How are you?
Bot: I'm doing great! Thanks for asking.

You: Bye
Bot: Goodbye! Have a nice day.

🎯 Learning Outcomes

  • Understanding user input handling
  • Implementing decision-making logic
  • Building a simple conversational application
  • Improving Python programming skills

📜 License

This project is created for educational and learning purposes.

👩‍💻 Developed By

Alishba Dilawar

🎓 CodeAlpha Virtual Internship

This project was developed as the Second Task of my CodeAlpha Virtual Internship Program. It reflects my learning journey in Python programming and chatbot development while enhancing my problem-solving and coding skills.

Built With

Share this project:

Updates