How to delete element from list in Python? -


i new python. have created list

a = [[3,4],[5],[6,7,8]] 

i want delete 3 list. command this?

easy, can try this

del a[0][0] 

Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -