How to use the pass statement?

前端 未结 15 2515
旧时难觅i
旧时难觅i 2020-11-22 15:03

I am in the process of learning Python and I have reached the section about the pass statement. The guide I\'m using defines it as being a Null sta

15条回答
  •  一向
    一向 (楼主)
    2020-11-22 15:23

    The pass statement does nothing. It can be used when a statement is required syntactically but the program requires no action.

提交回复
热议问题