5554. 심부름 가는 길

py_code·2020년 11월 17일
0

백준-브론즈5

목록 보기
17/57
time = sum([int(input()) for _ in range(4)])
m,s = divmod(time,60)
print(f'{m}\n{s}')

몫과 나머지가 동시에 나오는 문제는 divmod(대상,나눌 수)

profile
개발자를 꿈꿉니다.

0개의 댓글

Powered by GraphCDN, the GraphQL CDN