Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python question for matrix It means that the code does not make sense Python. We would like to define a vector with four numbers. DO

python question for matrix

image text in transcribed

It means that the code does not make sense Python. We would like to define a vector with four numbers. DO THIS: Fix the following code to creat three vectors with four numbers. [ ]: x = Z = ([1, 2, 3.4, 4]) ([1, 2, 3, 5]) ([1, 2, 3, 6.3]) Although you may have been able to get rid of the error messages the answer to you problem may still not be correct. Throughout the semester we will be using a python program called answercheck to allow you to check some of your answers. This program doesn't tell you the right answer but it is intended to be used as a way to get immediate feedback and accelerate learning. DO THIS: First we will need to download answercheck.py to your current working directory. You only really need to do this once. However, if you delete this file by mistake sometime during the semester, you can come back to this notebook and download it again by running the following cell: [38]: from urllib.request import urlretrieve urlretrieve('https://raw.githubusercontent.com/colbrydi/jupytercheck/master/answercheck.py', 'answercheck.py'); DO THIS: How just run the following command to see if you got x, y and z correct when you fixed the code above. [45]: from answercheck import checkanswer checkanswer(([x,y,z]), 'e80321644979a873b273aebbbcd0e450'); NameError Traceback (most recent call last) in 1 from answercheck import checkanswer 2 ----> 3 checkanswer(((x,y,z]), 'e80321644979a873b273aebbbcde450'); NameError: name 'y' is not defined

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions