摘要: 实验任务1 print('hey , u') print('hey','u') x=1 y=2 z=3 print(x,y,z) print('x = %d , y = %d, z = %d' %(x,y,z)) print('x = {},y = {},z= {}'.format(x,y,z)) 阅读全文
posted @ 2021-04-02 17:30 cc121212 阅读(45) 评论(1) 推荐(0)
摘要: 实验任务1x1,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)) 阅读全文
posted @ 2021-04-02 16:27 cc121212 阅读(119) 评论(2) 推荐(0)