practice pass simple things firstthe pass statement is no-operation placeholder that is used when the syntax requires statementbut you have nothing useful to say it is often used to code an empty body for compound statement for instanceif you want to code an infinite loop that does nothing each time throughdo it with passwhile truepass type ctrl- to stop mebecause the body is just an empty statementpython gets stuck in this loop pass is roughly to statements as none is to objects--an explicit nothing notice that here the while loop' body is on the same line as the headerafter the colonas with if statementsthis only works if the body isn' compound statement this example does nothing forever it probably isn' the most useful python program ever written (unless you want to warm up your laptop computer on cold winter' day!)franklythoughi couldn' think of better pass example at this point in the book we'll see other places where pass makes more sense later--for instanceto ignore exceptions caught by try statementsand to define empty class objects with attributes that behave like "structsand "recordsin other languages pass is also sometime coded to mean "to be filled in later,to stub out the bodies of functions temporarilydef func ()pass add real code here later def func ()pass we can' leave the body empty without getting syntax errorso we say pass instead version skew notepython (but not xallows ellipses coded as (literallythree consecutive dotsto appear any place an expression can because ellipses do nothing by themselvesthis can serve as an alternative to the pass statementespecially for code to be filled in later-- sort of python "tbd"def func ()alternative to pass def func ()func (does nothing if called ellipses can also appear on the same line as statement header and may be used to initialize variable names if no specific type is requireddef func ()def func () while and for loops works on same line too