List operations in python with examples