Matrix

PythonF

Matrix Diagonal Pattern

Given an integer matrix of size N*N as input, the program must print only the diagonal elements. The remaining elements must be replaced by *…
PythonF

Matrix Palindrome

The program must accept an integer matrix of size RxC as the input. The program must print YES if every row and every…