ico
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | ico [2015-04-27 18:17:49] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Generátor IČO ====== | ||
+ | <code python> | ||
+ | import random,math | ||
+ | |||
+ | check=0 | ||
+ | for i in list(reversed(range(2, | ||
+ | num = math.floor(random.uniform(0, | ||
+ | check += i*num | ||
+ | print(num, end="" | ||
+ | |||
+ | check = (11 - check%11) % 10 | ||
+ | print(check) | ||
+ | </ | ||
+ | |||
+ | http:// |
ico.txt · Last modified: by 127.0.0.1