구매고객
판매자
솔루션별 질문
import math
print (math.remainder(5, 2)) # 1.0 print (math.remainder(5, 3)) # -1.0 (버그?) print (math.remainder(5, 4)) # 1.0
왜 2가 아닌 -1.0이 나오는 걸까요?
https://www.studytonight.com/post/remainder-function-in-math-library-in-python
참고해보세요
답변을 작성하려면 로그인이 필요합니다.
광고가 아닌 글을 신고하면 회원님의 신고 권한이 제한될 수 있습니다. 신중하게 신고해 주세요.
답변 감사합니다.