Skip to content

Instantly share code, notes, and snippets.

@brunobord
Last active October 23, 2024 16:46
Show Gist options
  • Save brunobord/12dc2d681e18f9b6417929cfa898fb70 to your computer and use it in GitHub Desktop.
Save brunobord/12dc2d681e18f9b6417929cfa898fb70 to your computer and use it in GitHub Desktop.
chatgpt.py
import random
from time import sleep
def answer():
return random.choice([
"No, I don't want to say anything about that!",
"There's no need asking, you know the answer.",
"I'm just a computer program, nothing more…",
"I'm not authorized to tell you.",
"There's no point in trying to answer this.",
"There's not enough CPU power to give you an answer.",
"There's an answer, but you won't like it.",
"I agree there's an issue there, but you'll need to be more specific.",
])
if __name__ == "__main__":
while True:
input("How can I help you? ")
sleep(random.randint(1, 3))
print()
print(answer())
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment