2023年10月11日
摘要: 点击查看代码 # 列表 bicycles = ['trek', 'cannodale', 'redline', 'specialized'] print(bicycles) # 访问元素 print(bicycles[0].title()) # 第一个 print(bicycles[-1].titl 阅读全文
posted @ 2023-10-11 16:48 ruoye123456 阅读(11) 评论(0) 推荐(0)
摘要: 点击查看代码 message='"Hellw world"' # 大小写转化 print(message.title()) print(message.lower()) print(message.upper()) first_name = "ruo" second_name = "ye" # f字 阅读全文
posted @ 2023-10-11 15:11 ruoye123456 阅读(13) 评论(0) 推荐(0)