I'm trying to print all the combinations of AAA-ZZZ but I can't see all the outputs from the terminal. It prints all from A to Z but when it is displayed overall in the terminal, it only shows the combination from y-z and I can't scroll up anymore.
import itertools
for v in itertools.product(['A', 'B', 'C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'],repeat = 3):
print(v)