try:i=int(s)print(“pp:”,i)except ValueError as err:print(err)
问题是:提示except有语法错误?网上找的没有解答,希望可以得到一个接近本质的解答。
except ValueError , e:print e