摘要:
import time print(time.strftime('%Y/%m/%d %H:%M:%S', time.localtime())) # 2022/06/27 20:55:56 阅读全文
摘要:
lists = [1, 2, 3, 4, 5, 6, 7] print(list(filter(lambda x: x > 4, lists))) # [5, 6, 7] print(list(map(lambda x: x > 4, lists))) # [False, False, False, 阅读全文