Removing items using discard, remove, pop and clear - DATANALYTICS