2016年4月15日

内建函数print(python3.0)

摘要: 1 print(x,y,sep='#',end='\n') 显示结果: 1#2 2、end结尾符,end默认为换行符‘\n’: 1 for i in range(1,11): 2 print(repr(x).rjust(2), repr(x*x).rjust(3), end=' ') 3 # Not 阅读全文

posted @ 2016-04-15 14:23 guoqp 阅读(398) 评论(0) 推荐(0) 编辑

导航