Ls=[]
Ls +="python"
The answer is [' p ', 'y', 't', 'h', 'o', 'n']
How is scattered yellow?
CodePudding user response:
Ls +="python" this operation is equivalent to force the "python" has carried on the list (), and then make a list to merge, you can try a list (" python ") is equal to [' p ', 'y', 't', 'h', 'o', 'n']