03 2023 档案

实验2 字符串和列表
摘要:task1.py x = 'nba FIFA' print(x.upper()) print(x.lower()) print(x.swapcase()) print() x = 'abc' print(x.center(10, '*')) print(x.ljust(10, '*')) print 阅读全文

posted @ 2023-03-29 20:20 Yli。 阅读(24) 评论(0) 推荐(0)

实验1 Python开发环境使用和编程初体验
摘要:实验任务1 #实验1 #task1_1.py 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 = {}, 阅读全文

posted @ 2023-03-08 11:40 Yli。 阅读(39) 评论(0) 推荐(0)

导航