print 'Welcome to the Mad libs Program' print '\a' * 5 print '\n' * 25 place = raw_input('Enter a place: ') print '\a' * 5 print '\n' * 25 adjective = raw_input('Enter an adjective: ') print '\a' * 5 print '\n' * 25 verb = raw_input('Enter a verb: ') print '\a' * 5 print '\n' * 25 number = raw_input('Enter a number: ') print '\a' * 5 print '\n' * 25 body_part = raw_input('Enter a body part: ') print '\a' * 5 print '\n' * 25 verb_2 = raw_input('Enter a verb ending in ing: ') print '\a' * 5 print '\n' * 25 adjective_2 = raw_input('Enter another adjective: ') print '\a' * 5 print '\n' * 25 print 'Here is your story --' print '\a' * 5 print '\n' * 2 first_letter = adjective_2.__getslice__(0,1) vowels = 'AEIOUaeiou' if vowels.__contains__(first_letter): print ' ','Have you ever gone to',place,'?','It is a very',adjective,'place. When you',verb,'there you should eat',number,'cheeseballs. You will probably break your',body_part,'while',verb_2,'But in all, you will have an',adjective_2,'time.' else: print ' ','Have you ever gone to',place,'?','It is a very',adjective,'place. When you',verb,'there you should eat',number,'cheeseballs. You will probably break your',body_part,'while',verb_2,'But in all, you will have a',adjective_2,'time.' print 'Thanks for playing the Mad Libs Program!' exit()