python eval()

eval()

把传入的字符串中的算式计算出结果并可以通过print()函数可以返回

原文地址:https://www.cnblogs.com/ezway/p/6389998.html