input if else print语句

上一篇 / 下一篇  2014-07-04 16:40:50 / 个人分类:Python

a = input ("a=")
b = input ("b=")
if a>b:
    print "hello"
else:
    print "h e l l o"

TAG:

 

评分:0

我来说两句

Open Toolbar