九州体育网 - 十年信誉网站

关于作者

Discuss / Python / isinstance判断变量是不是字符串,lower使list字符串变为小写

isinstance判断变量是不是字符串,lower使list字符串变为小写

Topic source

N_Flag

#1 Created at ...

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


  • 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.