摘要: /* if ....else .... */ [root@localhost test1]# vim 5.py //ADD #!/usr/bin/python if 1>2: print 'hello python' print 'TRUE' else: print 'FALSE' [root@localhost test1]# python 5.py FALSE ... 阅读全文
posted @ 2016-09-04 15:23 Frankiee 阅读(223) 评论(0) 推荐(0)
摘要: [root@localhost test1]# vim 4.py //ADD #!/usr/bin/python info = {} name = raw_input("Please input a name: ") age = raw_input("Please input your age: ") gender = raw_input("Please input (M/F): ") inf... 阅读全文
posted @ 2016-09-04 14:03 Frankiee 阅读(190) 评论(0) 推荐(0)