Python script to generate a random number without any functions:

the_set = set()

for i in range(10):
    the_set.add(str(i))

for e in the_set:
    print(int(e))
    break

Built With

Share this project:

Updates