gpt-3.5-turbo-0613· OpenAI
WildChat-4.8M (AI2)
make me a dares in python script
- User
make me a dares in python script
- Assistant
Sure, here's a simple Python script to play "Truth or Dare" with the computer generating random dares for you to complete:
import random dares = [ "Perform a dance routine.", "Sing a song of your choice.", "Do 10 push-ups right now.", "Speak in a funny accent for the next 5 minutes.", "Do a handstand against the wall for 10 seconds.", "Eat a spoonful of a condiment you dislike.", "Call a random number from your phone and have a conversation with them.", "Go outside and shout 'I love Python!' as loud as you can.", "Dance like nobody is watching in a public place for 1 minute.", "Get a glass of water and drink it in one gulp without stopping.", "Do a somersault on the floor.", "Show your most embarrassing photo to everyone in the room.", "Eat a raw chili pepper.", "Write a short poem and recite it out loud.", "Do a 5-minute plank exercise.", "Try to lick your elbow. No cheating!", "Run around the room five times as fast as you can.", "Swap clothes with the person next to you.", "Do a funny impression of your favorite celebrity.", "Eat a spoonful of mustard.", ] print("Welcome to Truth or Dare!") print("Choose one option:\n1. Truth\n2. Dare") option = int(input("Enter your choice (1/2): ")) if option == 1: print("Truth: Sorry, I can't create truth questions for you!") elif option == 2: dare = random.choice(dares) print("Dare: " + dare) else: print("Invalid option! Please choose 1 or 2.")