-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import random | ||
import time | ||
|
||
heckles = [ | ||
"You call that a joke?", | ||
"Boo! Get off the stage!", | ||
"I've heard better jokes from my pet parrot!", | ||
"You're funnier when you're silent.", | ||
"Is this a comedy show or a nightmare?", | ||
"You should try another career.", | ||
] | ||
|
||
def stand_up_comedy(): | ||
print("Welcome to the comedy show!") | ||
time.sleep(2) | ||
|
||
for _ in range(5): # Simulating a short stand-up routine | ||
joke = input("Comedian: ") # Comedian's joke | ||
print("AI Heckler:", random.choice(heckles)) | ||
|
||
print("Thanks for the laughs!") | ||
|
||
if __name__ == "__main__": | ||
stand_up_comedy() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# AI Stand-Up Heckler | ||
|
||
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. | ||
|
||
## Usage | ||
|
||
1. **Installation**: | ||
|
||
- The script doesn't require any external libraries. You can run it with a standard Python installation. | ||
|
||
2. **Running the Program**: | ||
|
||
- Start the program by executing the Python script, and it will guide you through a simulated stand-up comedy routine. | ||
|
||
- The AI heckler will randomly choose heckles to interrupt your jokes. | ||
|
||
3. **Customization**: | ||
|
||
- 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. | ||
|
||
- You can also adjust the number of jokes the comedian tells during the routine by modifying the loop in the `stand_up_comedy` function. | ||
|
||
## Requirements | ||
|
||
- Python 3.x (no external libraries required) | ||
|
||
## Example | ||
|
||
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. | ||
|
||
## License | ||
|
||
This project is open-source and available under the [MIT License](LICENSE). | ||
|
||
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). | ||
|
||
Enjoy some lighthearted comedy with Python! |
5f3957b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I implemented AI Stand-Up Heckler using Python. I also added a read me file explaining the code. Hoping to get the PR merged and getting the Hacktoberfest and hacktoberfest- accepted badge