[Kotlin] Programmers 신규 아이디 추천 - Level 1
문제 https://programmers.co.kr/learn/courses/30/lessons/72410 풀이 fun solution(new_id: String): String { var answer: String = "" answer = step1(new_id) answer = step2(answer) answer = step3(answer) answer = step4(answer) answer = step5(answer) answer = step6(answer) answer = step7(answer) println(answer) return answer } // 대문자를 소문자로 fun step1(new_id: String): String { return new_id.toLowerCase() } ..
2021.05.21