i want to make an exception if third came befor first make an error exception but it doesnt work i don't know how can i solve any recommendations?

后端 未结 0 1117
攒了一身酷
攒了一身酷 2020-12-07 18:47
def get_file_metadata(data_as_string: str):
    if data_as_string != \'*.raw.seq\':
        raise TypeError
    data_lines = data_as_string.split("\\n")

          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题