PL/Python

[Python] bin, hex 변환

SweetDev 2021. 11. 12. 23:44
m_bin = int(input(), 2)
print(oct(m_bin)[2:])