(python) divmod() - 몫, 나머지 구하기

berry ·2021년 7월 6일
0

Python

목록 보기
9/15
post-thumbnail

🧩 몫, 나머지 구하기

📌 연산기호

나누기: /
몫: //
나머지: %


📌 divmod()

divmod(분모, 분자)

#결과
divmod(몫, 나머지)


profile
Engineer

0개의 댓글