if x<1000 and x>=500then print aelseif x>=1000 and x<2000 then print belse print cend ifend if
两个数相加,交换加数的位置,和不变,这叫做加法交换律。