Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the following program in PYTHON; A matris that has x rows and y columns which has following properties; Sum of each column must be
Write the following program in PYTHON;
A matris that has x rows and y columns which has following properties;
Sum of each column must be same.
Every element of matris must be a random integer from 0 to 9
x and y will be choosen by keyboard after.
Example of a random output: ( x= 3 , y=3)
[[2 3 0]
[1 0 5]
[3 3 1]]
Note that 2 + 1 + 3 = 3 + 0 + 3 = 0 + 5 + 1=6
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started