반응형

-풀이

print(bin(int(input(), 8))[2:])

-풀이 설명

[1분 sol] 8진수를 10진수로 바꿔서 bin함수를 이용해 2진법으로 나타내줄 수 있다. 슬라이싱으로 앞에 2글자는 빼준다.

+ Recent posts