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.
На этой странице сайта вы можете посмотреть видео онлайн Pass Statement in python || No Operation || Pass || Flow Control длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Ddhruv Arora 09 Октябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 28 раз и оно понравилось 6 зрителям. Приятного просмотра!