学习的过程就是无尽的折腾!
1234567
if expression1: statement1elif:expressin2: statement2else: statement3#python缩进一般为四个空格
12
if 1: print 'Hello World!'
1234
if True: print 'Hello World'else: print 'Hello Ketty!'
12345678
In [16]: if score > 90: ....: print 'A' ....: elif score >80: ....: print 'B' ....: else: ....: print 'Not good!' ....: A