最近在看简明python教程,' '.join(source)这个卡了一下,看了半天,最终百度了下,还是理解了什么意思
我们看下join方法
-
str.
join
(
iterable
)
-
Return a string which is the concatenation of the strings in the iterable iterable. The separator between elements is the string providing this method.
''这货就是表示字符串意思。