Pass Statement

pass an empty statement, in order to maintain the integrity of the program structure, typically used as a placeholder statement.

for i in 'world':
    if i=='r':
        pass
        print('pass')
    print(i)
print('universe')

Export
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_43832703/article/details/92569981