SetsSequencesStrings, Bytes, and BytearraysCreatingTestingSearchingReplacingChanging caseReformattingThe format method and functionRangesTuplesTuple syntaxTuple packing and unpackingListsStatements that modify listsList modification methodsSequence-oriented string methodsMappingsDictionariesDictionary example: RNA codon translation tableDictionary operationsDictionary methodsStreamsFilesCreating file objectsFile methodsExampleGeneratorsCollection-Related Expression FeaturesComprehensionsList comprehensionsSet and dictionary comprehensionsGenerator expressionsConditional comprehensionsNested comprehensionsFunctional ParametersThe parameter “key”Function objectsAnonymous functionsTips, Traps, and TracebacksTipsLanguage featuresDeveloping and testing codeTrapsTracebacks