Funny AI Project

 


πŸ€– Funny AI Project

AI Mood Detector 

Idea

The “AI” looks at what the user types and guesses their mood.
Then it gives a
funny response.

Example
Input:
I am very hungry
AI: “πŸ• You sound hungry! Go find pizza immediately!”


Step 1: Open Google Colab

Go to:

https://colab.research.google.com

Click New Notebook.


Step 2: Copy This Code

import random
 
print("πŸ€– Welcome to Funny AI Mood Detector!")
print("------------------------------------")
 
text = input("Tell me something about how you feel today: ").lower()
 
happy_words = ["happy", "great", "good", "awesome", "fun"]
sad_words = ["sad", "bad", "tired", "cry", "upset"]
hungry_words = ["hungry", "food", "eat", "pizza", "burger"]
 
if any(word in text for word in happy_words):
    responses = [
        "πŸ˜„ Wow! Someone is super happy today!",
        "πŸŽ‰ Happiness detected! Keep smiling!",
        "πŸ€– My sensors say you are in a great mood!"
    ]
    print(random.choice(responses))
 
elif any(word in text for word in sad_words):
    responses = [
        "πŸ€— Don't worry! Tomorrow will be better!",
        "🌈 Sending you virtual happiness!",
        "🍫 Maybe chocolate will help!"
    ]
    print(random.choice(responses))
 
elif any(word in text for word in hungry_words):
    responses = [
        "πŸ• Emergency! Pizza required immediately!",
        "πŸ” Burger alert! Feed the human!",
        "πŸ€– My AI says: Snack time!"
    ]
    print(random.choice(responses))
 
else:
    responses = [
        "πŸ€” My AI brain is confused!",
        "πŸ€– I need more training data!",
        "🧠 Hmm... tell me more!"
    ]
    print(random.choice(responses))

Step 3: Run the Program

Click Run in Colab.

Type something like:

I am hungry

or

I feel very happy today

The AI will give a funny response.


Step 4: Make It More Fun

Kids , you can improve the project by adding:

·         More moods

·         More funny replies

·         Emojis πŸ˜„πŸ•πŸ€–

Example moods:

·         sleepy 😴

·         angry 😑

·         bored 😐


Step 5: Dear Kids, you can present the Project

Dear Students, you can explain like this:

Project Title: Funny AI Mood Detector

Problem: Computers cannot understand human emotions easily.

Idea: Use Python to detect mood from words and respond with funny messages.

Result: The AI guesses moods and replies humorously.


Comments

Popular posts from this blog

Home Work on 14-03-2026