Skip to content

러시안 룰렛 #2

@pjhjohn

Description

@pjhjohn

🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫🔫

@Test
fun russianRoulette() {
    listOf("권태환", "정현지", "강경완", "조희주", "서효정", "윤영", "장인수", "박준호", "김대영")
        .shuffled()
        .take(5)
        .forEachIndexed { index, name ->
            println("${index + 1}등 : $name")
        }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions