我幫妳處理成列表和加%的列表,還有直接輸出了
strs = '‘5;5;25;25;25;25;25;25;25;25;25;25;160;160;160;160;160;2900;2900;3140’'
dis = strs.lstrip('‘').rstrip('’').split(';')
print(dis)
dis = list(map(lambda x:x+'%', dis))
for i in dis:
print(i, end='\t')