This article will teach you how to sort a list in Python. ... nums = [25,13,6,17,9] nums.sort(key = lambda x:x%5) print(nums) # Output: [25, ...
確定! 回上一頁