单选题 适中
#6536

s1="Let life be beautiful like summer flowers and death like autumn leaves." s2=…

s1="Let life be beautiful like summer flowers and death like autumn leaves."
s2=s1.split()
print(type(s2))

以上程序运行的结果?( )

未登录也能判分,登录后才会记录
答案与解析
正确答案:C
解析

str.split(参数)其功能是使用参数中指定的字符将字符串str分割成字符串列表,结果返回的是列表类型。