Open jmpark0118 opened 4 years ago
if __name__ == '__main__':
numer = int(input())
denom = int(input())
quotient = numer//denom
remainder = numer%denom
answer = '(' + str(quotient) + ', ' + str(remainder) + ')'
print(quotient, remainder, answer, sep='\n')
출처 : https://www.hackerrank.com/challenges/python-mod-divmod/problem