000-- List comprehensions
Above one is equal to :
for the first one, it‘s equal to :
001-- list functions:
list.sort()
list.reverse() == list.sort(reverse=true)
list.copy()
list.clear() __ the list still exist, but it‘s a empty list after clear.
时间: 2024-10-07 04:29:34