I import a set of images of numbers (surfaces) through
for n in range(0, 10):
globals()[f'Number{n}'] = pygame.image.load(os.path.join(f'{n}.png'))
This gives me 10 surface objects. Next i want to iterate through those 10 objects and place them somewhere on my screen using something like;
for num in range(0, 10):
WINDOW.blit(Number[num], (pos_x, pos_y))
The Number[num] does not work. How can i dynamically call variables with the loop iteration as part of the variable name?