我有以下字符串/文本
streets_and_names = '''
#
street 49
description someone lives there
name Paul
#
street 51
description no one lives there
name no name
#
street 43
description someone lives there
name Mark
#
street 42
description no one lives there
name no name
#
'''
我想通过从中删除以下行来获得输出
description no one lives there
name no name
其余的保持原样。
有人知道吗?
谢谢。
LEATH
相关分类