Discuss / Python / 作业

作业

Topic source
L2 = [x for x in L1 if isinstance(x, str)]
L2 = [x.lower() for x in L1 if isinstance(x, str)]

  • 1

Reply