collecting all sorts of data in this defining collection using tuples using dictionaries developing stacks using lists using the queue module using the deque module eople collect all sorts of things the cds stacked near your entertainment centerthe plates that are part of seriesbaseball cardsand even the pens from every restaurant you've ever visited are all collections the collections you encounter when you write applications are the same as the collections in the real world collection is simply grouping of like items in one place and usually organized into some easily understood form this is about collections of various sorts the central idea behind every collection is to create an environment in which the collection is properly managed and lets you easily locate precisely what you want at any given time set of bookshelves works great for storing booksdvdsand other sorts of flat items howeveryou probably put your pen collection in holder or even display case the difference in storage locations doesn' change the fact that both house collections the same is true with computer collections yesthere are differences between stack and queuebut the main idea is to provide the means to manage data properly and make it easy to access when needed understanding collections in you're introduced to sequences sequence is succession of values that are bound together in container the simplest sequence is stringwhich is succession of characters next comes the list described in which is succession of objects even though string and list are both sequencesthey have significant differences for examplewhen working with stringyou set all the characters to lowercase -something