03 2023 档案

摘要:x = 'nba FIFA' print(x.upper()) print(x.lower()) print(x.swapcase()) print() x = 'abc' print(x.center(10, '*')) print(x.ljust(10, '*')) print(x.rjust( 阅读全文
posted @ 2023-03-28 18:44 废话师 阅读(17) 评论(0) 推荐(0)
摘要:#实验任务1 print('hey, u') print('hey', ' u') x,y,z = 1,2,3 print(x, y, z) print('x = %d, y = %d, z = %d' %(x,y,z)) print('x = {}, y = {}, z = {}'.format( 阅读全文
posted @ 2023-03-13 18:59 废话师 阅读(27) 评论(1) 推荐(0)