使用Type Hints 可以让我们编写出带有类型的Python 代码,看起来更加符合强类型语言风格。 这里定义了两个greeting 函数:. 普通的写法如下:. name = " ...
確定! 回上一頁