Lists


ordered, mutable collections can be mixed types



lst = [1, 'Hello', True, False, 34.5,'*'] 

The append method adds an element at the end of the list

lst.append('new')  

lst.copy 

len(lst) 

lst.count(1) 

lst.clear 

lst2 =['one','two']  
lst.extend(lst2)






© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopNext