import keyword
if __name__ == '__main__':
#错误1
str1 = "string"
print(str1)
#错误2
print('1024')
#错误3
float=1.024
print(float)
#错误3
print(False)
#在此处输出保留关键字
print(keyword.kwlist)
print('end')
标签:__,错误,keyword,str1,float,print,标识符,保留字
来源: https://blog.csdn.net/qq_52774193/article/details/123607374