单项选择题
在Python中,如何将一个列表转换成字符串?()
A.’’.join(list)
B.str(list)
C.list.toString()
D.list.str()
点击查看答案&解析
相关考题
-
单项选择题
在Python中,如何读取文件的内容?()
A.file.read()
B.file.readlines()
C.file.readline()
D.所有以上的选项 -
单项选择题
在Python中,如何将一个字符串转换成小写?()
A.str.lower()
B.str.tolower()
C.lowercase(str)
D.str.small() -
单项选择题
在Python中,如何暂停代码执行几秒?()
A.sleep(seconds)
B.time.sleep(seconds)
C.delay(seconds)
D.wait(seconds)
