Answers for "how to make an empty function in python"

3

create empty function python

# Correct way of writing empty function 
# in Python
def fun(): 
    pass
Posted by: Guest on June-02-2021
0

keyword for empty function to continue the block python

# Correct way of writing empty function 
# in Python 
def fun(): 
	pass

  
# Empty loop in Python 
mutex = True
while (mutex == True) : 
	pass

  
# Empty in if/else in Python 
mutex = True
if (mutex == True) : 
	pass
else : 
	print("False")
Posted by: Guest on April-17-2020

Code answers related to "how to make an empty function in python"

Python Answers by Framework

Browse Popular Code Answers by Language