A) The lst list contains a list of musical instruments ['guitar', 'piano', 'sintezator', 'drums']. Write the code that will add the ‘cello’ to the list after the 'piano' tool. Display the new list. Example,
list ['guitar', 'piano', 'sintezator', 'drums']
output ['guitar', 'piano', ‘cello’, 'sintezator', 'drums']

b) The lst list contains a list of musical instruments ['guitar', 'piano', 'sintezator', 'drums']. Write the code that will remove the ' sintezator'tool from the list .

YeGoR17 YeGoR17    3   16.03.2021 08:35    0

Другие вопросы по теме Информатика