摘要: 一,认识字符串 字符串是python中最常用的数据类型,我们一般使用引号来创建字符串。创建字符串很简单,只要为变量分配一个值即可。 a = 'hello world' b = "ddddffsadfdsf" print(type(a)) print(type(b)) 执行结果为str类型: 字符串特 阅读全文
posted @ 2020-08-19 18:46 诸葛孔明q 阅读(133) 评论(0) 推荐(0) 编辑