Question: Code 2 : 1 x = . 7 5 2 3 if x < - 1 : 4 y = ( x + 3 )
Code
:
x
if x
:
y
x
elif x
:
y
x
if x
:
y
x
else x
:
y
x
a
There are four mistakes in Harry
s code, and he has asked you to help him fix
his code. Find the three mistakes and state what changes need to be made for
the code to function properly.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
