六、内置函数
摘要:一、了解部分 内置函数(大部分了解) eval :剥去字符串的外衣,运算里面的代码,有返回值 s1 = '1 + 3'print(s1) # 1+3print(eval(s1)) # 4 s = '{"name": "alex"}'print(s,type(s)) #{"name": "alex"}
阅读全文
posted @ 2019-05-25 11:05
posted @ 2019-05-25 11:05
posted @ 2019-05-25 10:34
posted @ 2019-05-25 10:26
posted @ 2019-05-25 10:22
posted @ 2019-05-14 00:05
posted @ 2019-05-13 23:55