大纲:一.分支结构 if switch二.循环 for while do while break continue三.格式化输出 [printf] int score = 100; String name = "张三": int number = 19; System.out.println(name + "的分数是" + score + "分,排名为第" + number + "名.");换用格式化输出:System.out…
第二天课程整理 while 循环 why : while ' 循环' 的意思 what : while 无限循环 how : 1.基本结构 while + 条件 循环的代码 初识循环 while true: print('狼的诱惑') 先判断 条件 print('我们不一样') 如果是true 进行循环 print('月亮之上') 循环到底部,再次判断条件 条件成立继续循环 print('庐州月') print('人间'…