You are not logged in.
Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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 >>> |
-