03 2023 档案

摘要:实验二 字符串和列表 实验任务1 task1.py 实验源码 x = 'nba FIFA' print(x.upper()) print(x.lower()) print(x.swapcase()) print() x = 'abc' print(x.center(10,'*')) print(x. 阅读全文
posted @ 2023-03-25 11:26 赖鑫 阅读(41) 评论(0) 推荐(0)
摘要:实验任务1 task1_1 实验源码 1 print('hey,u') 2 3 print('hey','u') 4 5 x,y,z=1,2,3 6 print(x,y,z) 7 8 print('x=%d,y=%d,z=%d'%(x,y,z)) 9 print('x={},y={},z={}'.f 阅读全文
posted @ 2023-03-14 14:03 赖鑫 阅读(38) 评论(0) 推荐(0)