User Tools

Site Tools


ico

Generátor IČO

import random,math
 
check=0
for i in list(reversed(range(2, 9))):
  num = math.floor(random.uniform(0, 10))
  check += i*num
  print(num, end="")
 
check = (11 - check%11) % 10
print(check)

http://www.kolej.mff.cuni.cz/~dan/kody.html#ICO

ico.txt · Last modified: 2015-04-27 18:17:49 (external edit)