Python If 语句 Python 单行语句 Python If Else 语句 Python If 语句 #!/usr/bin/python var1 = 100 if var1: print "1 - Got a true expression value" print var1 var2 = 0 if var2: print "2 - Got a true expression value" print var2 print "Good bye!" Python 单行语句 Python If Else 语句