CodeUp 1125-10진수 정수를 입력받아 8진수와 16진수로 출력한다.

resilient

·

2020. 7. 1. 21:35

728x90
반응형

a= int(input())
b= ("%o" %a)
c= ("%X" %a)
print(b,c)

반응형