Discuss / Python / homework

homework

Topic source

感谢! 之前一直困惑与有些知识仅仅是知道理论,实战的时候就很迷茫,事后看到方法却都懂,感谢感谢

-Beiker

#33 Created at ... [Delete] [Delete and Lock User]

学习了学习了

大王aj

#34 Created at ... [Delete] [Delete and Lock User]

学习了

随机清醒

#35 Created at ... [Delete] [Delete and Lock User]

大神你好,请问像下面一样不定义func直接输出inp为什么不行

def run(x): inp = input('method>') if hasattr(computer,inp): print(inp())


Reply