干得好 :roomMap = [1] * 50 # Here, the list is filled with 1print(len(roomMap))for i in roomMap: print(i)print() 已经转到下一行。这个打印:501111 #etc..如果你想要一个列表列表,只需添加括号roomMap = [[1]] * 50 #Here, the list is filled with [1]print(len(roomMap))for i in roomMap: print(i)这印50[1][1][1] #etc..