@alcuqhrhtlvek1782
Reviews Written
-
Average Rating
Q&A
์ฌ๊ธฐ์ ์ฌ์ฉ์๊ฐ x, y ๋ฅผ ์ ๋ ฅํ๊ฒ ํ๋ ๋ฐฉ๋ฒ๋ ์์๊น ๊ถ๊ธํฉ๋๋ค
def quot_and_rem(x,y): quot = x//y rem = x%y return quot, rem x = int(input()) y = int(input()) quot, rem = quot_and_rem(x,y) print(quot, rem)