if __name__ == '__main__':
origin = [1, 9, 8, 7, 6, 5, 13, 3, 2, 1]
print(f"原列表:{origin}")
origin = [x for x in origin if x % 2 == 0]
print(f"新列表:{origin}")
if __name__ == '__main__':
origin = [1, 9, 8, 7, 6, 5, 13, 3, 2, 1]
print(f"原列表:{origin}")
origin = [x for x in origin if x % 2 == 0]
print(f"新列表:{origin}")