摘要: 字符串 定义 # 1. 使用 单引号 定义 str1 = 'hello' # 2. 使用 双引号 定义 str2 = "hello" # 3. 使用 三引号 定义 str3 = """hello""" str4 = '''hello''' 下标(索引) 下标从0开始,逆序从-1开始 str1 = ' 阅读全文
posted @ 2023-06-24 00:41 鹿先森JIAN 阅读(6) 评论(0) 推荐(0) 编辑