Skip to content

Commit 5f3957b

Browse files
committed
AI Stand-Up Heckler
1 parent f76d95c commit 5f3957b

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import random
2+
import time
3+
4+
heckles = [
5+
"You call that a joke?",
6+
"Boo! Get off the stage!",
7+
"I've heard better jokes from my pet parrot!",
8+
"You're funnier when you're silent.",
9+
"Is this a comedy show or a nightmare?",
10+
"You should try another career.",
11+
]
12+
13+
def stand_up_comedy():
14+
print("Welcome to the comedy show!")
15+
time.sleep(2)
16+
17+
for _ in range(5): # Simulating a short stand-up routine
18+
joke = input("Comedian: ") # Comedian's joke
19+
print("AI Heckler:", random.choice(heckles))
20+
21+
print("Thanks for the laughs!")
22+
23+
if __name__ == "__main__":
24+
stand_up_comedy()

AI Stand-Up Heckler/readme.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# AI Stand-Up Heckler
2+
3+
AI Stand-Up Heckler is a Python script that simulates a humorous scenario where an AI heckler interrupts a stand-up comedian's routine with funny heckles. The script generates random heckles from a predefined list and allows the user (the comedian) to tell jokes.
4+
5+
## Usage
6+
7+
1. **Installation**:
8+
9+
- The script doesn't require any external libraries. You can run it with a standard Python installation.
10+
11+
2. **Running the Program**:
12+
13+
- Start the program by executing the Python script, and it will guide you through a simulated stand-up comedy routine.
14+
15+
- The AI heckler will randomly choose heckles to interrupt your jokes.
16+
17+
3. **Customization**:
18+
19+
- You can customize the list of heckles by modifying the `heckles` list in the code. Add your own humorous remarks or expand the list as you like.
20+
21+
- You can also adjust the number of jokes the comedian tells during the routine by modifying the loop in the `stand_up_comedy` function.
22+
23+
## Requirements
24+
25+
- Python 3.x (no external libraries required)
26+
27+
## Example
28+
29+
Imagine you want to create a fun and interactive stand-up comedy experience. You run the script, and as you tell your jokes, the AI heckler generates funny heckles, making the performance more amusing.
30+
31+
## License
32+
33+
This project is open-source and available under the [MIT License](LICENSE).
34+
35+
Feel free to expand and customize this script to create a more advanced and interactive stand-up comedy simulation. If you have questions or encounter issues, please create an issue in the [GitHub repository](https://github.com/yourusername/ai-stand-up-heckler).
36+
37+
Enjoy some lighthearted comedy with Python!

0 commit comments

Comments
 (0)