fork download
  1. al = ['A', 'B', 'C', 'D']
  2. print(len(al)) # 4
  3. al.append('E')
  4. print(al) #['A', 'B', 'C', 'D', 'E']
  5. del(al[0])
  6. print(al) #['B', 'C', 'D', 'E']
Success #stdin #stdout 0.02s 8736KB
stdin
Standard input is empty
stdout
4
['A', 'B', 'C', 'D', 'E']
['B', 'C', 'D', 'E']