Ver originalfrom random import randintdef azar(x): return randint(10 ** (x - 1) - (x == 1), (10 ** x) - 1)