Can you build a function that prints an identity matrix, given the identity matrix size?
Examples:
Input: 2Output: 1 0 0 1
Input: 4Output: 1 0 0 0 0 1 0 0 0 0 1 0…