python中如何写一个空函数

lewis 2019-03-18 24次阅读

在python中书写空函数的两种方法

1.使用def语句创建

def fun():

Pass

2.使用while语句创建

mutex = True

while (mutex == True) :

Pass



发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。