A format string, that is the string on the left hand side of an expression like fmt % arguments, must consist of legal conversion specifiers. Otherwise, a ValueError will be raised.

Choose a legal conversion specifier.

In format_as_tuple_incorrect, "t" is not a legal conversion specifier.

  • Python Library Reference: String Formatting.