摘要: a,b,c,d,e,f,g=1,2,3,4,5,8,9 m = a > b and c e n = b > a or g < f x = m and n info = ''' m is %s n is %s x is %s m is False n is True x is False ''' %(m,n,x) print(info) 阅读全文
posted @ 2018-11-13 05:59 啊牛2333 阅读(260) 评论(0) 推荐(0)
摘要: a,b,c,d,e=1,2,3,4,5 m = b >a and c e and b < a y = m or n info = ''' m is %s n is %s y is %s m is True n is False y is True ''' %(m,n,y) print(info) 阅读全文
posted @ 2018-11-13 05:51 啊牛2333 阅读(259) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- name = input("Name:") age = input("Age:") ex = input("Ex:") info = ''' 我是%s,年龄%s,目前学习进度为%s%% ''' %(name,age,ex) print(info) ''' 在格式化输出里,你出现%默认为就是占位符的%... 阅读全文
posted @ 2018-11-13 05:10 啊牛2333 阅读(147) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- name = input("Name:") age = input("Age:") job = input("Job:") hobbie = input("Hobbie:") info = ''' ------------ info of %s ----------- Name : %s ... 阅读全文
posted @ 2018-11-13 05:08 啊牛2333 阅读(181) 评论(0) 推荐(0)