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.
In questa pagina del sito puoi guardare il video online Pass Statement in python || No Operation || Pass || Flow Control della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Ddhruv Arora 09 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 28 volte e gli è piaciuto 6 spettatori. Buona visione!