print(type((1)))返回值为<class 'int'>print(type((1,)))返回值为<class 'tuple'>如果需要创建单元素的数组,需要在该元素后添加,否则并不会被编译器认为是数组 Last modification:January 2, 2022 © Allow specification reprint Support Appreciate the author Like 逢年过节,欢迎投喂