From eecb9354fac3e0de772bbcc40301d36febee3b2f Mon Sep 17 00:00:00 2001 From: calebcheptumo Date: Mon, 5 Feb 2024 21:10:46 +0300 Subject: [PATCH] pass acts as placeholder --- files-and-exceptions/exceptions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files-and-exceptions/exceptions.py b/files-and-exceptions/exceptions.py index c82a04e..035676c 100644 --- a/files-and-exceptions/exceptions.py +++ b/files-and-exceptions/exceptions.py @@ -61,4 +61,5 @@ # print(5 / 0) # except ZeroDivisionError: # pass -#The pass statement tells Python to do nothing in the block. \ No newline at end of file +#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.