travel = ["taiwan","hanguo","shanghai","bingdao","faguobali"]
print(travel)

print("--------------分割线-----------------")

print(sorted(travel))


print("--------------分割线-----------------")

# 核实排列顺序没有变
print("Verify that the order has not changed.核实")
print(travel)

print("--------------分割线-----------------")

print(sorted(travel))
print(travel)

print("--------------分割线-----------------")

# 核实排列顺序没有变
print("Verify that the order has not changed.核实")
print(travel)

print("--------------分割线-----------------")


travel.reverse()
print(travel)
travel.reverse()
print(travel)

print("--------------分割线-----------------")


travel.sort()
print(travel)
travel.sort(reverse=True)
print(travel)



print("--------------华丽分割线-----------------")



list = ["liutingting","fenxinming","duanjinsong"]
print("共邀请了: %s 位宾客"%len(list))



















