📌  相关文章
📜  拆分每个字符的字符串 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:24.591000             🧑  作者: Mango

代码示例1
# Python3 - separate each character of non-spaced string

def split(string): 
    return [letter for letter in string] 
    
# Driver code 
string = 'split this string'
print(split(string))