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 calculate the sum of all palindromic numbers in the borders of the matrix.
More Problems
Write a program to replace all even numbers in the matrix with their nearest perfect square.
Write a program to replace all odd numbers in the matrix with their nearest perfect cube.
Write a program to print all diagonal elements that are multiples of 6 and 9.
Write a program to print all border elements that are multiples of 8 and 10.
Write a program to calculate the sum of all elements divisible by both 2 and 4 in the matrix.
Write a program to calculate the product of all elements divisible by both 3 and 6 in the matrix.
Write a program to check if the sum of all elements in the first and last rows is an even number.
Write a program to check if the product of all elements in the first and last columns is an odd number.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...