The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Please, can someone else me with my hw?
The assignment is attached, it is due tomorrow at 9 p.m.Â
I am using python 3.5
Â
Programming Assignment 5All solutions are to be written using Python 3.Make sure you provide commentsincluding the file name, your name, and the date at the top of the file you submit.Also make sure to include appropriate docstrings for all functions.The names of your functions must exactly match the names given in this assignment.The order of the parameters in your parameter list must exactly match the ordergiven in this assignment.For any given problem below, you may want to write additional functions otherthan those specified for your solution.That's fine with us.Keep in mind that the point of this assignment is to give you practice with nestedloops and nested lists, not to find ways to avoid them.In the world of mathematics, a matrix is a collection of numbers arranged into a fixednumber of rows and columns.We can represent a matrix as a two-dimensional table orarray.Mathematicians have defined many operations on matrices.In this assignment,you'll implement two of those operations as Python functions.Problem 1A matrix is symmetric if every element of the matrix at row i and column j is equal to theelement at row j and column i.A matrix can only be symmetric if it is a square matrix(that is, the matrix has the same number of rows as columns).For example, this matrix54340737-1is symmetric, while the following matrix54340736-1is not symmetric.Your task is to construct a Python function calledsymmetricwhichexpects one argument:a two-dimensional table representing a square matrix.Yourfunction should return True if the matrix is symmetric and False otherwise.You mayassume that the table passed as the argument will have the same number of rows ascolumns and that it will contain only numbers.Here are some examples of how yourfunction should behave:
Attachments: