什么函数可以将数据的类型转换成字符串类型?
A. str()
B. int()
C. float()
D. eval()
下面哪些选项代码执行不会报错。
A. print("hello"+str(2020))
B. print("hello"+"world")
C. print("hello"+2020)
简单数据类型转换函数有?
A. str()
B. float()
C. bool()
D. int()
Python字符串从左到右索引默认0开始的,最大范围是字符串长度少1。
A. 对
B. 错