how can i make a for-loop pyramid more concise in python?,"list(product(list(range(3)), repeat=4))"