print(list(zip(*arr2)))# [(1, 3, 5), (2, 4, 6), (3, 5, 7)] 二維數(shù)組的行轉(zhuǎn)列 dictionary={'a':1,'b':2,'c':3} print(dictionary, sep='\t')# {'a': 1, 'b': 2, 'c': 3}\t 正常輸出 print(*dictionary, sep='\t')# a\tb\tc\t 每個字母中間以\t分割 ...
www.dbjr.com.cn/article/1960...htm 2025-5-22