As shown in the picture, I have been learning python by myself recently. When I read books, I often see this kind of --snip--
There is no explanation in the book, and I can't find anything particularly clear on Baidu. I don't know what this is. What
Generally speaking, if the code is not written yet, shouldn’t you write a pass?
Then what the hell is this snip?
Omit the implementation part of the function body. I have seen this written in foreign books before, but I read the original English version and looked up the meaning of the word:
To cut; to cut; to cut with...
The snip part should be omitted by the author and omit the space. This part of the code should be there above. Otherwise, if the author posted the code repeatedly, the book would probably not be that good
Just understand it as...