Loading... `print(type((1)))` 返回值为`<class 'int'>` `print(type((1,)))` 返回值为`<class 'tuple'>` 如果需要创建单元素的数组,需要在该元素后添加`,` 否则并不会被编译器认为是数组 Last modification:January 2nd, 2022 at 05:47 pm © 允许规范转载 Support 逢年过节,欢迎投喂 Appreciate the author 支付宝微信