摘要:1. 实验任务1 x1,y1=1.2,3.57 x2,y2=2.26,8.7 print('{:-^40}'.format('输出1')) print('x1={},y1={}'.format(x1,y1)) print('x2={},y2={}'.format(x2,y2)) print('{:- 阅读全文
posted @ 2021-04-09 01:11 AOIL 阅读(14) 评论(1) 推荐(0) 编辑
摘要:1.实验任务1 ''' 用法1 ''' print('hey, u') ''' 用法2 ''' print('hey', ' u') x = 1 y = 2 z = 3 print(x, y, z) ''' 用法3 ''' print('x = %d, y = %d, z = %d' %(x,y,z 阅读全文
posted @ 2021-04-02 16:11 AOIL 阅读(10) 评论(0) 推荐(0) 编辑