Discuss / Python / 除了那个汉诺塔搞晕了头,其他的还算简单

除了那个汉诺塔搞晕了头,其他的还算简单

Topic source

-- coding utf-8 --

#段涛于2017年12月19日编写今天不错,监控也搞了,编程也学了,股票也涨了

#今天的作业 L1=['Hello','World',18,'Apple',None] L2=[s.lower() for s in L1 if isinstance(s,str)] print (L2)


  • 1

Reply