下面是一个示例程序,用于检查一个字符串是否包含字母“a”:. string = "Hello, World!" if "a" in string: print("字符串中包含字母'a'") else: print("字符串中不包含 ...
確定! 回上一頁