>>> tup = ('a', 'b', 'c', 'd', 'g', 'x', 'r', 'e')
>>> ''.join(tup)
'abcdgxre'
>>>
>>> help(str.join)
Help on method_descriptor:
join(...)
S.join(iterable) -> str
Return a string which is the concatenation of the strings in the
iterable. The separator between elements is S.
>>>
str.join`]1を使用します。
ここでは、joinの簡単な使い方をご紹介します。
これは効く。
生じます。
また、コンマのような区切り文字を使うと、次のようになります。
を使うことで