Learn more practical AI projects here: Click Here
अधिक व्यावहारिक AI प्रोजेक्ट्स सीखने के लिए: यहाँ क्लिक करें
These projects help beginners implement basic AI logic using Python. You will create a simple chatbot and an AI-powered calculator to practice conditional logic and user interaction.
ये प्रोजेक्ट शुरुआती लोगों को Python का उपयोग करके बेसिक AI लॉजिक लागू करना सिखाते हैं। आप एक साधारण चैटबॉट और AI-पावर्ड कैलकुलेटर बनाएंगे।
# Simple chatbot
print("Hi! I am ChatBot.")
name = input("What is your name? ")
print("Hello " + name + "! How can I help you today?")
question = input("Ask me anything: ")
print("You asked:", question)
print("I am still learning to answer complex questions!")
This chatbot takes user input and responds with simple pre-defined messages. Practice conversational AI basics.
यह चैटबॉट उपयोगकर्ता इनपुट लेता है और साधारण उत्तर देता है। conversational AI का बेसिक अभ्यास करने के लिए।
# Simple AI-powered calculator
num1 = float(input("Enter first number: "))
operator = input("Enter operator (+, -, *, /): ")
num2 = float(input("Enter second number: "))
if operator == '+':
print("Result:", num1 + num2)
elif operator == '-':
print("Result:", num1 - num2)
elif operator == '*':
print("Result:", num1 * num2)
elif operator == '/':
if num2 != 0:
print("Result:", num1 / num2)
else:
print("Cannot divide by zero")
else:
print("Invalid operator!")
This calculator takes numbers and an operator from the user to compute the result. It demonstrates conditional logic and user interaction in Python.
यह कैलकुलेटर उपयोगकर्ता से नंबर और ऑपरेटर लेता है और परिणाम निकालता है। Python में conditional logic और user interaction को दर्शाता है।