摘要: Python中str()与repr()函数的区别 from:https://www.jianshu.com/p/2a41315ca47e 在 Python 中要将某一类型的变量或者常量转换为字符串对象通常有两种方法,即 str()或者 repr() 。 >>> a = 10 >>> type(str 阅读全文
posted @ 2019-07-26 17:51 bonelee 阅读(463) 评论(0) 推荐(0)