SageMath的使用 一.判断语句 1.if语句 a=7812 if a%2=0: //这里,if语句要跟变量对齐,否则就会报错 print"e" else: print"o" 二.循环 1.for循环 answer = 0 for i in range