Skip to content Skip to sidebar Skip to footer

Typeerror: Not Enough Arguments For Format String - Using A While Loop

I'm doing the old 99 bottles song and trying to do it using a While loop, to help me continue to better learn that loop type. I'm wondering why I would be getting a TypeError when

Solution 1:

you have to specify multiple arguments as tuple, eg

print "%d %s of beer on the wall," % (bottles, s1)

Post a Comment for "Typeerror: Not Enough Arguments For Format String - Using A While Loop"