摘要: python-当函数赋给变量时带括号与不带括号的区别 参见下面的例子: def test(): print("call the test func") return 0 p = test print("type(p): ", type(p)) print(' ') p = test() print( 阅读全文
posted @ 2022-09-30 14:35 夜行过客 阅读(449) 评论(0) 推荐(0) 编辑