I am trying to make a program print all possible 4 digits pin codes.
My program:
Pin = 0000
print (Pin)
while Pin < 10000:
print (Pin)
Pin = Pin + 1
But it start at 0 and then continue 1, 2, 3, 4 and so on.
How do I make it start at 0000 and continue 0001, 0002 - 9998, 9999?