travel = ['Britain','Germany','America','Swiss','Japan']
print(travel)
print(sorted(travel))
print(travel)
print(sorted(travel,reverse=True))
print(travel)
travel.reverse()
print(travel)
travel.reverse()
print(travel)
travel.sort()
print(travel)
travel.sort(reverse = True)
print(travel)
print(travel[-1])
网友评论