Loading

Quipoin Menu

Learn • Practice • Grow

ai-foundation / What is Artificial Intelligence?
exercise
1/5
Exercise 1Ai-foundation
Question

Write a Python function that simulates a simple rule-based AI for a chatbot. The function should take user input and respond with "Hello!" if user says "hi", and "I don't understand" otherwise.