Skip to content

shreyad-ship-it/Basic-Chatbot-Codealpha-Task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Basic Chatbot using Python

Project Overview

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.

Features

  • Responds to user greetings.
  • Answers simple predefined questions.
  • Provides a continuous conversation loop.
  • Exits when the user types "bye".
  • User-friendly interaction.

Technologies Used

  • Python
  • Google Colab

Concepts Used

  • Functions
  • While Loop
  • Conditional Statements (if-elif-else)
  • User Input and Output
  • String Manipulation

How to Run

  1. Open the project in Google Colab or any Python IDE.
  2. Run the Python script.
  3. Enter messages in the input field.
  4. The chatbot will respond based on predefined rules.
  5. Type "bye" to end the conversation.

Sample Interaction

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!

Project Structure

Basic_Chatbot/ │ ├── chatbot.py ├── README.md └── screenshots/

Learning Outcomes

  • Understanding of Python programming fundamentals.
  • Experience with user interaction through the console.
  • Knowledge of loops and conditional statements.
  • Development of a simple conversational application.

Author

Shreya Dwivedi

Internship

CodeAlpha Python Programming Internship

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors