The World Wide Web, restored to 800 pixels of glory.
GeezerVison is showing www.runoob.com — Python str() 函数 | 菜鸟教程
Python 内置函数
str() 函数将对象转化为适于人阅读的形式。
以下是 str() 方法的语法:
class str(object='')
返回一个对象的string格式。
以下展示了使用 str() 方法的实例:
取消