Skip to content

Instantly share code, notes, and snippets.

@wray
Created August 31, 2015 21:56
Show Gist options
  • Save wray/eafb281cae007a30f841 to your computer and use it in GitHub Desktop.
Save wray/eafb281cae007a30f841 to your computer and use it in GitHub Desktop.
Wray's Story.py
# Mad Libs!
print("Type in an adjective")
adj = raw_input()
print("Type in a noun")
noun1 = raw_input()
print("Type in another noun")
noun2 = raw_input()
import speech
speech.say("The " + adj + " " + noun1 + " ran away.","en-US",0.1)
speech.say("The yellow " + noun2 + " found the " + noun1 + ".","en-US",0.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment