长字符串共1篇
Python字符串的创建和驻留机制详解-尤尤'blog

Python字符串的创建和驻留机制详解

字符串 字符串是python中最常用的数据类型,一般用单引号或者双引号来创建字符串(必须成对)。字符串是不可变序列。 a = 'hello' b = 'python' print(type(a)) #<class 'str'> print(type(b...
尤尤的头像-尤尤'blog尤尤10月16日 21:35
01219