You are not logged in.
Quoted from "Katzenfreund"
mod lieferte doch den Rest einer Division, richtig?
wenn ja, dann einfach so:
817: 13 = 62
78
37
26
11
Diese 11 bildet eben den Rest.
major23hh
God
Quoted from "sPani-yAk"
http://porta.informatik.uni-freiburg.de/…domisierung.pdf
schnelle exponentiation, seite 24, klappt prima![]()
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 |
>>> 817 % 13 11 >>> divmod(817, 13) (62, 11) >>> quotient, rest = divmod(817, 13) >>> quotient 62 >>> rest 11 >>> |
-