Madlibs.py


#1

Where is the problem

File "Madlibs.py", line 43, in
print STORY % (first_adj, name, first_verb, seco
nd_adj, first_noun, second_noun, animal, food, secon
d_verb, third_noun, fruit, third_adj, name, third_ve
rb, number, name, superhero, superhero, name, countr
y, name, dessert, name, year, fourth_noun)
ValueError: unsupported format character 't' (0x74)
at index 187


#2

Somewhere in line 43 (at character 187) there is an unsupported format character...

%t

The only format character we need is,

%s

#3

ooo thanks ................


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.