What are the advantages of specifying the parameter type and return type of a method in Python?

前端 未结 0 1894
夕颜
夕颜 2021-02-14 06:08

I have just recenlty learned that you can specify the parameter and return type of a function in Python, something like this:



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