Answers for "try except python do nothing"

1

except do nothing python

try:
    do_something()
except Exception:
    pass
Posted by: Guest on May-26-2021
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

Python Answers by Framework

Browse Popular Code Answers by Language