定义一个什么都不做的函数
复制代码 代码如下:
def a(): ... pass ...
def printHello(): ... print("hello") ... printHello() hello callable(printHello) True
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8