문제
def solution(s): while (s != "1"): ones = s.count("1") s = bin(ones)[2:] zeros = zeros + (len(s) - ones) cnt += 1 return [cnt, zeros]
효율적으로 간결하게 풀었다!