|
|
@@ -104,8 +104,8 @@ if __name__ == '__main__':
|
|
|
```Python
|
|
|
def main():
|
|
|
fruits = ['grape', 'apple', 'strawberry', 'waxberry']
|
|
|
- fruits += ['pitaya', 'pear', 'mango']
|
|
|
- # 循环遍历列表元素
|
|
|
+ fruits += ['pitaya', 'pear', 'mango']
|
|
|
+ # 循环遍历列表元素
|
|
|
for fruit in fruits:
|
|
|
print(fruit.title(), end=' ')
|
|
|
print()
|