List append
user_6939821
python
08/02/2023 7:22 AM
172 B
14
Indexable
### Append an elem. to list
currencies = ['Dollar', 'Euro', 'Pound']
# append 'Yen' to the list
currencies.append('Yen')Editor is loading...
### Append an elem. to list
currencies = ['Dollar', 'Euro', 'Pound']
# append 'Yen' to the list
currencies.append('Yen')