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

Python Answers by Framework

Browse Popular Code Answers by Language