I have a 튜플 같은 문자 등.
('a', 'b', 'c', 'd', 'g', 'x', 'r', 'e')
How do I 변환하시겠습니까 redhat. 구체화하십시오 도왔으매 마치:
'abcdgxre'
['스트리요린'] [1] 사용합니다.
>>> 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.
>>>
[1]: http://docs.python.org/2.7/library/stdtypes.html # 스트리요린