SWEA 2029. 몫과 나머지 출력하기 파이썬

Seomingi·2022년 9월 7일
0

SWEA D1

목록 보기
3/7
n = int(input())

for i in range(1,n+1):
  x,y = map(int,input().split())
  mok = x//y
  nameoji = x%y
  print('#{} {} {}'.format(i,mok,nameoji))
profile
One thing after another

0개의 댓글

관련 채용 정보