Skip to content

Commit

Permalink
pass acts as placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebCheptumo committed Feb 5, 2024
1 parent bb5cd72 commit eecb935
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files-and-exceptions/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@
# print(5 / 0)
# except ZeroDivisionError:
# pass
#The pass statement tells Python to do nothing in the block.
#The pass statement tells Python to do nothing in the block.
#The pass statement also acts as a placeholder. It tells you that you decided to do nothing at a specific point in your program and that you might want to do something there later.

0 comments on commit eecb935

Please sign in to comment.