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 print all the border elements that are prime numbers.
More Problems
Write a program to calculate the difference between the sum of even elements and the sum of odd elements in a matrix.
Write a program to check if all the elements in the middle row are prime numbers.
Write a program to check if all the elements in the middle column are prime numbers.
Write a program to print the sum of all diagonal elements that are palindromes.
Write a program to check if all the diagonal elements are divisible by 9.
Write a program to print the matrix in an X pattern starting from the center.
Write a program to check if the matrix is symmetric about the vertical axis.
Write a program to check if the matrix is symmetric about the horizontal axis.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...