#:로 구분되어 입력된 시간을 시와분을 이용하여 출력하기
a,b=input().split(':')
print(a,"시",b,"분")

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: