随笔分类 -  python 日记

摘要:#字符串拼接 str1 = "Hello" str2 = "World" combined_str = str1 + " " + str2 print(combined_str) #字符串重复 str1 = "Python " repeated_str = str1 * 3 print(repeat 阅读全文
posted @ 2024-04-07 21:07 一个不优秀的人+1 阅读(24) 评论(0) 推荐(0)