Although type annotation is not required, using it helps prevent errors associated with accidentally storing the wrong data in a variable and can increase program execution speed.
英
美
- 尽管类型批注不是必须的,但使用它有助于避免与在变量中意外存储错误数据相关的那些错误,并可提高程序执行的速度。