摘要:
Python中eval,exec这两个函数有着相似的输入参数类型和执行功能,因此在用法上经常出现混淆,以至经常用错,程序易抛出错误。下面主要通过这两个函数的语法来阐述区别,并用例子来进一步说明。 首先 看下官方文档对这两个函数的说明: (1)eval(expr, globals=None, loca 阅读全文
posted @ 2020-02-19 23:33
JohnYang819
阅读(551)
评论(0)
推荐(0)
摘要:
Important note: You should always work on a duplicate of the course notebook. On the page you used to open this, tick the box next to the name of the 阅读全文
posted @ 2020-02-19 09:59
JohnYang819
阅读(204)
评论(0)
推荐(0)

浙公网安备 33010602011771号