You are viewing a single comment's thread from:RE: 파이썬에서 랜덤 문자열 만들기View the full contexteversloth (76)in NOTICE & AutoVoting • 4 years ago 중복 횟수에 제한이 없다면, 다음과 같이 만드시면 됩니다. ''.join([random.choice(letter_set) for i in range(length)])
중복을 허용할 경우에는 그렇게 하면 되겠네요. 감사합니다.