List append
user_6939821
python
2 years ago
129 B
10
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')