Skip to content Skip to sidebar Skip to footer

Typeerror: %d Format: A Number Is Required, Not Str

I want to use print format to print strings and numbers, and I have the following code: John = {'strength': 10, 'skill': 10} character1 = 'John' strength = eval(character1)['stren

Solution 1:

Here's the mistake: $s should be %s.


Post a Comment for "Typeerror: %d Format: A Number Is Required, Not Str"