# python code by zzw
# time:2015-7-27
# if...elif...else 语法结构感觉跟shell差不多呀
# 注意对齐与缩进
x=int(input("Please input an integer:"));
if x<0:
x=0;
print("Negative changed to zero");
elif x==0:
print("Zero");
elif x==1:
print("One");
else:
print("More");
转载于:https://my.oschina.net/zzw922cn/blog/484385