Python 内置函数——eval、exec、compile,eval()将字符串类型的代码执行并返回结果print(eval('1+2+3+4'))exec()将自字符串类型的代码 ...
確定! 回上一頁