'TypeError: can only concatenate str (not "int") to str' When writing Python, you will encounter this error at least once. The cause is 'trying to directly ...