WorksheetsPYTHON: Correct The Code
Total questions: 32
Worksheet time: 16mins
No errors.
No errors.
No errors.
Type in the correct code.
(a)
No errors.
No errors.
No errors.
No error.
No errors.
A
B
C
No errors.
No errors.
Hint: colors = [0, 1, 2]
No errors.
No errors.
Hint: Look at 'y_predict' and the order of the code.
No errors.
No errors.
No errors.
No errors.
There are multiple errors in this code!
No errors.
Hint: Look at the spelling and check for commas!
No errors.
TRUE OR FALSE?
There are no errors in this code.
TRUE OR FALSE?
This code has errors.
No errors.
Hint: Look closely at the 'result =' line
No errors.
Hint: Parentheses!
A
B
No errors.
A
B
C
No errors.
TRUE OR FALSE?
There are no errors in this code.
The code contains no errors.
No errors.
Fill in the blank.
All lowercase.
(a)
Fill in the blank.
All lowercase.
Hint: Starts with the letter 'h'
(a)
Type the correct code!
(a)
