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 replace all elements in the matrix that are multiples of 7 with their negatives.
More Problems
Write a program to print all diagonal elements that are divisible by 2 and 3.
Write a program to print the matrix in a zigzag pattern from the center outwards.
Write a program to rotate the matrix 360 degrees clockwise.
Write a program to rotate the matrix 360 degrees counterclockwise.
Write a program to print the matrix elements in reverse spiral order.
Write a program to calculate the difference between the largest and smallest diagonal elements.
Write a program to print the top half of the matrix in reverse order.
Write a program to print the bottom half of the matrix in reverse order.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...