题海让大学四年没有难题
白天模式登陆

题目详情

单选题 有字符串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程序设计基础课程封面

学科:大学计算机—Python程序设计基础

时间:2023-05-08 00:29:11

Copyright © 2022 津ICP备2021001502号