关于作者

Discuss / Python / 最简短作业

最简短作业

Topic source

平仔-C

#1 Created at ...

L = ['Hello', 'World', 18, 'Apple', None] l = [s.lower() for s in L if isinstance(s, str)] print(l)


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.