SyntaxFix
Write A Post
Hire A Developer
Questions
Here's how you delete every item from a list.
del c[:]
Here's how you delete the first two items from a list.
del c[:2]
Here's how you delete a single item from a list (a in your case), assuming c is a list.
a
c
del c[0]