如何打印不同类型的整数常量
相似于我们需要去声明类型
public class Var {public static void main(String[] args) {// 1就是int类型常量System.out.println(1);// 120后面加一个L(l)表示他是一个long型的整数System.out.println(120l);}
}如何打印不同类型的浮点数常量
与…
ICode国际青少年编程竞赛- Python-3级训练场-if else练习 1、
for i in range(6):Dev.step(2)Dev.turnLeft()if i ! 1:Dev.step(2)Dev.step(-2)else:Dev.step(-3)Dev.step(3)Dev.turnRight()2、
Dev.step()
for i in range(5):Dev.step(2)Dev.turnRight()if i < 1:Dev.s…