In this video, I have discussed the Pass statement.
It can be used in Loops, Functions, and Conditionals.
The main use of the pass statement is to make an empty statement executable as empty statements are not allowed in python.
For ex:
def f1():
This function will give an error as its body is empty and hence it's called an empty expression.
but to avoid the error we can put pass statement in the body of that function that is,
def1():
pass
A tip: Try to add all the things that we have done till, date in a single function
Thank you for watching and reading.
Happy Coding ahead 👨🎓🌟✨
#python #pythonprogramming #coding #learning #teaching #youtuber #pythonfrombasics.
On this page of the site you can watch the video online Pass Statement in python || No Operation || Pass || Flow Control with a duration of hours minute second in good quality, which was uploaded by the user Ddhruv Arora 09 October 2021, share the link with friends and acquaintances, this video has already been watched 28 times on youtube and it was liked by 6 viewers. Enjoy your viewing!