Discuss / Python / 作业

作业

Topic source

L = ["Hello", "World", 18, "Apple", None]

L2 = [n.lower() for n in [n for n in L if isinstance(n, str)]]


  • 1

Reply