默认情况下,带注解的函数 def total(count: int) 收到 "3" 时会怎样?

来自 Python
入门 1分钟

默认情况下,带注解的函数 def total(count: int) 收到 "3" 时会怎样?

报告错误