Home > other >  How is scattered yellow?
How is scattered yellow?

Time:09-26

What will be the value of the ls?
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']
  • Related