Sometimes it's just not worth writing a full for loop. ... doubled = [] for num in lst: doubled.append(num*2) return doubled.
確定! 回上一頁