python里的字符串是什么
发布时间:2021-03-08 编辑:jiaochengji.com
教程集为您提供python里的字符串是什么等资源,欢迎您收藏本站,我们将为您提供最新的python里的字符串是什么资源
python里的字符串是一种数据类型
可以使用str函数将其他数据类型,转换之后就是字符串类型了
示例如下:
a = 10 print(type(a)) a = str(a) print(type(a))
执行结果如下:
更多Python知识,请关注:Python自学网!!
您可能感兴趣的文章:
python中r代表什么意思
python正则表达式r表示什么意思
r在python中表示什么意思
python u是什么意思
python里的字符串是什么
python里的str是什么意思
python的转义字符是什么
string在python中是什么意思
python string是什么
python中转义字符是什么意思
上一篇:ipad怎么安装Python
下一篇:python如何操作表格
[关闭]