Answers for "statement can be used as do nothing in python"

2

python do nothing

# To do nothing within a statement, use pass

good = True
if good:
  pass
else:
  print('This is not good')
Posted by: Guest on September-28-2020

Code answers related to "statement can be used as do nothing in python"

Python Answers by Framework

Browse Popular Code Answers by Language