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 elements in the matrix divisible by both 3 and 4.
More Problems
Write a program to print all elements in the matrix divisible by both 5 and 6.
Write a program to count how many perfect square elements are there in the matrix.
Write a program to count how many perfect cube elements are there in the matrix.
Write a program to check if the sum of all elements in the first row is even.
Write a program to check if the sum of all elements in the first column is odd.
Write a program to replace all diagonal elements with their sum of cubes.
Write a program to replace all border elements with the sum of squares.
Write a program to print all elements in the matrix that are divisible by both 2 and 8.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...