[Codewars] [Python] Split string · def solution(s): · list1 = [] · for i in range(len(s)): · if len(s) %2 !=0: · s = s + "_" · print(s) · if i % 2 == 0: · list1.append( ...
確定! 回上一頁