Files
2026-11-09 16:26:26 +01:00

10 lines
203 B
Python

import random
import json
unique_numbers = random.sample(range(0x0001, 0xFFFF), 100)
hexnum = [hex(n) for n in unique_numbers]
with open("./hexnum.json", "w") as f:
json.dump(hexnum, f, indent=4)