I'm quite new to programming and have looked on many answers to similar questions but they don't produce the desired result for me. Is it possible for any of you guys to help me? example code:
shapes = ["tri", "angle"]
groupedShapes = "triangle"
According to the doc's:
string.join(words[, sep]) Concatenate a list or tuple of words with intervening occurrences of sep. The default value for sep is a single space character.
shapes = ["tri", "angle"]
groupedShapes = "".join(shapes)
# "triangle"
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다