[PYTHON] AHC task (2) append

Use append () when adding an element to the end Source

append.py


fruitList = ['Apple', 'Orange', 'Pear']

print(fruitList)
#['Apple', 'Orange', 'Pear']

fruitList.append('Grapes')
print(fruitList)
#['Apple', 'Orange', 'Pear', 'Grapes']



Recommended Posts

AHC task (2) append
AHC task (1) Reading CSV file
AHC task (3) Read CSV as a dictionary
Final task