經安全檢測,此網站為安全網站,請放心前往原始網址!

TypeError: not all arguments converted during string formatting python - Stack Overflow

You're mixing different format functions. The old-style % formatting uses % codes for formatting: 'It will cost $%d dollars.' % 95 The new-style {} formatting uses {} codes and the .format method 'It will cost ${0} dollars.'.format(95) Note that with old-

stackoverflow.com

網址安全性掃描由 google 提供