Python中怎样对数组中的值进行选择性,调换位置的输出。例如:a,b,c,d...答:调换位置的输出stin = ['A','B','C','D','E','F','G','H','I','X']inp = input('enter the sort:')def change(pa): file = open("D:\\dir\\a.txt","a") pas = pa.split(','); print(pas) for i in pas: print(stin[int(i)],end=" ") ...