2023年3月28日

摘要: 任务一 实验源码 1 x = 'nba FIFA' 2 print(x.upper()) 3 print(x.lower()) 4 print(x.swapcase()) 5 print() 6 7 x = 'abc' 8 print(x.center(10, '*')) 9 print(x.lju 阅读全文
posted @ 2023-03-28 20:57 Dughy 阅读(33) 评论(0) 推荐(0)

2023年3月13日

摘要: 实验任务1 实验源码 1 print('hey,u') 2 3 print('hey','u') 4 x,y,z=1,2,3 5 print(x,y,z) 6 7 print('x=%d,y=%d,z=%d'%(x,y,z)) 8 print('x={},y={},z={}'.format(x,y, 阅读全文
posted @ 2023-03-13 22:21 Dughy 阅读(54) 评论(0) 推荐(0)