题目详情
单选题 有字符串s,给出如下代码:s="Life is beautiful!" 请分析各选项中,可以输出"life"的是( )
A. print(s[0:3])
B. print(s[0:3].lower())
C. print(s[0:4])
D. print(s[0:4].lower())
学科:大学计算机—Python程序设计基础
时间:2023-05-08 00:29:11
相关题目
相关作业