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 count how many elements in the matrix are divisible by both 5 and 8.
More Problems
Write a program to print all the elements in the matrix that are divisible by 3, 5, and 7.
Write a program to print all the elements in the matrix that are divisible by 2, 4, and 6.
Write a program to calculate the sum of all prime numbers in the first and last columns.
Write a program to calculate the sum of all prime numbers in the first and last rows.
Write a program to check if the sum of all diagonal elements is divisible by both 5 and 10.
Write a program to check if the product of all border elements is divisible by both 6 and 12.
Write a program to print all perfect squares in the diagonals of the matrix.
Write a program to print all perfect cubes in the borders of the matrix.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...