python eval()

eval()

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

posted @ 2017-02-11 21:13  ezway  阅读(171)  评论(0)    收藏  举报