1 / 64
文档名称:

python 03.ppt

格式:ppt   大小:300KB   页数:64页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

python 03.ppt

上传人:zbfc1172 2019/9/23 文件大小:300 KB

下载得到文件列表

python 03.ppt

相关文档

文档介绍

文档介绍: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;