文档介绍:Chapter3–ControlStructuresOutline Introduction Algorithms Pseudocode ControlStructures ifSelectionStructure if/elseandif/elif/elseSelectionStructures whileRepetitionStructure FormulatingAlgorithms: CaseStudy1(Counter-ControlledRepetition) FormulatingAlgorithmswithTop-Down,StepwiseRefinement: CaseStudy2(Sentinel-ControlledRepetition) FormulatingAlgorithmswithTop-Down,StepwiseRefinement: CaseStudy3(NestedControlStructures) AugmentedAssignmentSymbols EssentialsofCounter-ControlledRepetition兔途挨奖遍刊吟浆过鹃甜恿德兜拼煽朗唤难鞠锑掐撮枚配防虏蝉门份椰阮python_03python_031Chapter3–ControlStructuresOutline UsingtheforRepetitionStructure breakandcontinueStatements LogicalOperators Structured--programmingHaveathroughunderstandingoftheproblemHaveacarefullyplannedapproachtothesolutionWhenwritingtheprogramUnderstandthetypesofbuildingblocksavailableUseprovenprogram-:(II)3controlstructuresSequentialstructureBuiltintoPythonSelectionstructureTheifstatementTheif/elsestatementTheif/elif/ =total+grade;counter=counter+1;