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 diagonal elements that are divisible by 4 and 7.
More Problems
Write a program to check if the sum of all elements in the first column is a palindrome.
Write a program to check if the sum of all elements in the last row is a palindrome.
Write a program to replace all elements in the first row with the square of their values.
Write a program to replace all elements in the last column with the cube of their values.
Write a program to print the matrix elements in a concentric square spiral order.
Write a program to print the matrix elements in a counterclockwise concentric square spiral order.
Write a program to print all elements that are divisible by 9 in the diagonals of the matrix.
Write a program to check if the product of all diagonal elements is an even number.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...