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 rotate a matrix by 45 degrees.
More Problems
Write a program to compute the sum of each row in a matrix.
Write a program to compute the sum of each column in a matrix.
Write a program to find the smallest element in a matrix.
Write a program to find the sum of all the border elements of a matrix.
Write a program to replace all the elements in the main diagonal with 0.
Write a program to replace all the elements in the anti-diagonal with 0.
Write a program to swap the main diagonal and anti-diagonal elements of a square matrix.
Write a program to calculate the mean of all elements in a matrix.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...