• Home
  • Chemistry
  • Astronomy
  • Energy
  • Nature
  • Biology
  • Physics
  • Electronics
  • Understanding Humor: A Python Script to Generate 'That's What She Said' Jokes
    That's What She Said Joke Generator Script

    import random

    Create a list of "That's What She Said" phrases

    phrases = [

    "That's what she said!",

    "Oh, you!",

    "I see what you did there.",

    "Hehehe.",

    "Nice one!",

    "You're on fire!",

    "Keep it up!",

    "We're all thinking it.",

    "You said it, not me!",

    "I can't believe you just said that!"

    ]

    Generate a random "That's What She Said" phrase

    phrase = random.choice(phrases)

    Print the phrase to the console

    print(phrase)

    Science Discoveries © www.scienceaq.com