In Python , the pass statement is a null statement that is used as a placeholder for future implementation of functions, loops, etc.
🔥 Want to learn Python, the right way? Get my interactive Python course: https://bit.ly/right-python
In this video, we will learn about the pass statement in Python. The difference between a comment and a pass statement in Python is that while the interpreter ignores a comment entirely, pass is not ignored. However, nothing happens when the pass is executed. It results in no operation (NOP).
~
Run Python Online: https://www.programiz.com/python-programming/online-compiler/
Programs in this video: https://github.com/programiz/python-course/blob/master/11-pass.md
Python pass Statement (text-based tutorial): https://www.programiz.com/python-programming/pass-statement
Python break and continue:
https://youtu.be/Mho_1WO-ht4?list=PL98qAXLA6afuh50qD2MdAj3ofYjZR_Phn
Watch our videos and revise them with our Python App!
Download here for Android: https://bit.ly/learn-python-android
Download here for iOS: https://apple.co/3iPm6Sx
Timestamps:
0:00 Intro
0:17 Python pass Statement
2:02 Recap
Find Programiz elsewhere:
Facebook: https://www.facebook.com/programiz
Instagram: https://www.instagram.com/_programiz/
LinkedIn: https://www.linkedin.com/company/programiz
Website: https://www.programiz.com
-------------------------------------------------
Pass Statement in Python (When to use it?) #11
#python #learnprogramming #programiz #passstatement