Not Enough Arguments For Format String

python TypeError not enough arguments for format string in Django

Not Enough Arguments For Format String. Web the error occurs if the number of arguments you specify during string formatting is not equal to the number of values you want to. >>> var = () >>> print %s % (var) traceback (most recent call last):

python TypeError not enough arguments for format string in Django
python TypeError not enough arguments for format string in Django

Instr = '%s', '%s', '%d', '%s',. Web the error occurs if the number of arguments you specify during string formatting is not equal to the number of values you want to. File , line 2, in. You need to put the format arguments into a tuple (add parentheses): >>> var = () >>> print %s % (var) traceback (most recent call last):

File , line 2, in. Web the error occurs if the number of arguments you specify during string formatting is not equal to the number of values you want to. Instr = '%s', '%s', '%d', '%s',. >>> var = () >>> print %s % (var) traceback (most recent call last): File , line 2, in. You need to put the format arguments into a tuple (add parentheses):