EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic: Matrix Manipulation Problem / Level: beginner
Problem:
Write a program to replace all diagonal elements with their factorial values.
More Problems
Write a program to replace all border elements with their square root values.
Write a program to check if all diagonal elements are palindromes and even numbers.
Write a program to print all the elements of the matrix that are multiples of 3 and 4.
Write a program to count how many prime elements are there in the first column and last row.
Write a program to count how many composite elements are there in the last column and first row.
Write a program to print the matrix in reverse order row-wise.
Write a program to print the matrix in reverse order column-wise.
Write a program to calculate the sum of all perfect square elements in the diagonals of a matrix.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...