mylifelist单词意思

更新时间:02-08 教程 由 稚情 分享

mylifelist单词意思?

应该选择A语句my_list=[s.lower() for s in 'Life is short, you need python.'.split(' ')]是以空格为分隔符,执行后my_list应该是这样:['life', 'is', 'short,', 'you', 'need', 'python.']'short' in my_list是假,my_list中有一个short,注意后面有一个逗号my_list[5]就不用说了,是python

声明:关于《mylifelist单词意思》以上内容仅供参考,若您的权利被侵害,请联系13825271@qq.com
本文网址:http://www.25820.com/tutorial/14_2186769.html