paint-brush
Why Does Python Has a "Pass" Statementby@pawangeek
495 reads
495 reads

Why Does Python Has a "Pass" Statement

by Pawan Jain5mJanuary 13th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Python's 'pass' statement is a null operation that skips without doing anything except checking whether the syntax is legal. Python uses indentation to divide code blocks, and the colon marks the appearance of new indented code blocks. When Python defines an empty function, when an empty it must have a legal body, so the statement representing the operation is designed the empty. Python does not use curly braces because it cannot directly define an empty. function like some languages, that is defined as a function that is legal contains a legal. body. Python is designed to solve common problems that most programming languages ​​have to face.
featured image - Why Does Python Has a "Pass" Statement
Pawan Jain HackerNoon profile picture
Pawan Jain

Pawan Jain

@pawangeek

Analyst @Innovaccer, writing articles on pyarmy.com

About @pawangeek
LEARN MORE ABOUT @PAWANGEEK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Pawan Jain HackerNoon profile picture
Pawan Jain@pawangeek
Analyst @Innovaccer, writing articles on pyarmy.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite