Advertisement
pedrolemoz

Hexadecimal simple counter

Sep 6th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, "A", "B", "C", "D", "E", "F"]
  2. count = 0
  3. for i in values:
  4.     for j in values:
  5.         for k in values:
  6.             print(f"{count} = {i}{j}{k}")
  7.             count += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement