如果采用数字输入值,则将列表中的字符串转换为整数。 ... my_list = list( map( int, input('Enter space-separated integers: ').split() ) ...
確定! 回上一頁