错误:
In [24]: print sub.eval() File "", line 1
print sub.eval()
^
SyntaxError: invalid syntax
解决:
少了个括号:print (sub.eval())
In [24]: print sub.eval() File "", line 1
print sub.eval()
^
SyntaxError: invalid syntax
少了个括号:print (sub.eval())
本文标题:SyntaxError
本文链接:https://www.haomeiwen.com/subject/gxwgcftx.html
网友评论