Traceback (most recent call last): File "1.py", line 37, in <module> print("Test Over,Now is test ID:"+list) TypeError: can only concatenate str (not "list") to str
解決方法:用str()將list列表轉換為字符形式再輸出!
PS:OK!
參考:
TypeError: can only concatenate str (not "list") to str(列表和字符串的報錯解決方法)_Keegan的博客-CSDN博客