pattern

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

Crown Pattern

The program must accept an odd integer N as the input. The program must print a grid of characters representing the crown pattern…