github彩色好讀版:點我作答完,看別人的答案後,我覺得我是小丑
while True: try: num_in = int(input()) except: break num_out = '' while num_in != 0: remain = num_in % 2 num_in = num_in // 2 num_out += str(remain) print(num_out[::-1])