How to write an empty function in Python – pass statement?

前端 未结 0 710
被撕碎了的回忆
被撕碎了的回忆 2020-11-22 01:22

In C/C++ and Java, i can write empty function as following

// An empty function in C/C++/Java

void fun() {  }

In Python, when i wrote that,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题