python常见错误
一:SyntaxError: EOL while scanning string literal 忘掉了单引号'
二:TypeError: can only concatenate str (not "int") to str 不能将字符串和整数数值相加
三: unexpected indent 意外的缩进
错误:
正确:
四:ValueError: could not convert string to float: 'avd' 不可将字符串转化为浮点型数值
五:ValueError: invalid literal for int() with base 10: '30.0'