Generating a 2n-by-2n Matrix with Python

Prompt

Result