001、
>>> str1 = ">aabbcc" >>> if str1.startswith(">"): ... print("yes") ... yes >>> if not str1.startswith(">"): ## python中if语句取反 ... print("yes") ...
001、
>>> str1 = ">aabbcc" >>> if str1.startswith(">"): ... print("yes") ... yes >>> if not str1.startswith(">"): ## python中if语句取反 ... print("yes") ...