# 完成列表操作
fruits = ['苹果', '香蕉']
fruits.append('橘子')
fruits.append('火龙果')
if '香蕉' in fruits:
    fruits.remove('香蕉')
if '橘子' in fruits:
    index = fruits.index('橘子')
    fruits[index] = '橙子'
for fruit in fruits:
    print(fruit, end='\t')
