34
loading...
This website collects cookies to deliver better user experience
0
or 1
(representing false or true)$ ./ch-1.py 1 2 3 4 5
1
$ ./ch-1.py 1 3 2 4 5
0
(10 * remainder) mod number
and keep looping until we hit the same remainder.say join ', ', @solutions
while Python is print(*solutions, sep=', ')
.$ ./ch-2.py
7, 17, 19, 23, 29
$ ./ch-2.pl
7, 17, 19, 23, 29