Answers for "python if statement do nothing"

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 "python if statement do nothing"

Python Answers by Framework

Browse Popular Code Answers by Language