前者是方法,后者是函数。oop和opp区别的经典体现。好好领会,就能知道什么时候写类什么时候写函数好。
python sort和sorted区别。
猜你喜欢
转载自www.cnblogs.com/ydf0509/p/9788041.html
今日推荐
周排行