Explain the code from the line 25 to 29


Can anyone explain the line from 25 to 29 as I have not seen this kind of query earlier?