I am trying to make a madlibs game and i keep getting this error:
Traceback (most recent call last):
File “C:\Users\Owner\Desktop\pythonpractice\madlibs\test.py”, line 22, in
print (“My Dream Man should, first of all be very %s and %s. He should have a physique like %s, a profile like %s, and the intelligence of a/an %s. He must be polite and must always remember to %s my %s, to tip his %s and to take my %s when crossing the street. He should move %s, have a/an %s voice, and should always dress %s. I would also like him to be a/an %s dancer, and when we are alone he should whisper %s nothings into my Throat and hold my %s. I know a/an %s is hard to find. In fact the only one I can think of is %s.” % (adjective, adjective2, celebrity, celebrity2, animal, verb, noun, noun2, part_of_body, adverb, adjective3, adverb2, adjective4, adjective5, part_of_body2, adjective6, noun3, noun4, person_in_room))
TypeError: not all arguments converted during string formatting
This is my code:
print (“Hello! Welcome to madlibs!”)
adjective = input(“Adjective”)
adjective2 = input(“Adjective”)
celebrity = input(“Celebrity”)
celebrity2 = input(“Celebrity”)
animal = input(“Animal”)
verb = input(“Verb”)
noun = input(“Noun”)
noun2 = input(“Noun”)
part_of_body = input(“Part of the body”)
adverb = input(“Adverb”)
adjective3 = input(“Adjective”)
adverb2 = input(“Adverb”)
adjective4 = input(“Adjective”)
adjective5 = input(“Adjective”)
part_of_body2 = input(“Part of the body”)
adjective6 = input(“Adjective”)
noun3 = input(“Noun”)
noun4 = input(“Noun”)
person_in_room = input(“Person in the room”)
print (“My Dream Man should, first of all be very %s and %s. He should have a physique like %s, a profile like %s, and the intelligence of a/an %s. He must be polite and must always remember to %s my %s, to tip his %s and to take my %s when crossing the street. He should move %s, have a/an %s voice, and should always dress %s. I would also like him to be a/an %s dancer, and when we are alone he should whisper %s nothings into my Throat and hold my %s. I know a/an %s is hard to find. In fact the only one I can think of is %s.” % (adjective, adjective2, celebrity, celebrity2, animal, verb, noun, noun2, part_of_body, adverb, adjective3, adverb2, adjective4, adjective5, part_of_body2, adjective6, noun3, noun4, person_in_room))
input(“Press any key to exit”)