python ProgrammingError at / not enough arguments for format string
Not Enough Arguments For Format String. >>> var = () >>> print %s % (var) traceback (most recent call last): File , line 2, in.
python ProgrammingError at / not enough arguments for format string
You need to put the format arguments into a tuple (add parentheses): 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): Instr = '%s', '%s', '%d', '%s',. File , line 2, in.
Instr = '%s', '%s', '%d', '%s',. Instr = '%s', '%s', '%d', '%s',. File , line 2, in. >>> var = () >>> print %s % (var) traceback (most recent call last): 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. You need to put the format arguments into a tuple (add parentheses):