摘要:
反射: 是用字符串类型的名字操作变量 反射的常用方法:hasattr getattr 通过反射操作导入的模块或类的属性和方法 import time key = input('>>>') #输入time print(getattr(time,key)()) #输出结果 : 1539251866.13 阅读全文
posted @ 2018-10-11 18:59
Lesson-J
阅读(94)
评论(0)
推荐(1)
摘要:
使用递归函数实现 使用堆栈实现 阅读全文
posted @ 2018-10-11 14:14
Lesson-J
阅读(224)
评论(0)
推荐(0)
浙公网安备 33010602011771号