Question: There are 3 syntax errors in the code below. Identify all of the syntax errors for full credit. You should select the line number where

There are 3 syntax errors in the code below. Identify all of the syntax errors for full credit. You should select the line number where each error occurs. Partial points will be available, although you do not identify all errors. Please note that the same kind of error may appear multiple times. That counts as multiple errors. def crazy_math(val_1, val_2, val_3) part_1 = (val_1 * val_2 * val_3 part_2 = val_1 / val_2 / val_3 part_3.= part_1 ** part_2 result = part_1 + part_2 + part_3 return result print(crazy_math(1,2,3) line 1: def crazy_math(val_1, val_2, val_3) line 2: part_1 = (val_1 * val_2 * val_3 line 3: part_2 = val_1 / val_2 / val_3 O line 4: part_3 = part_1 ** part_2 O line 5: result = part_1 + part_2 + part_3 line 6: return result line 7: print(crazy_math(1,2,3)
There are 3 syntax errors in the code below. Identify all of the syntax errors for full credit. You should select the line number where each error occurs. Partial points will be available, although you do not identify all errors. Please note that the same kind of error may appear multiple times. That counts as multiple errors. def crazy_math(val_1, val_2, val_3) part 1 = (val_1 * val_2* val_3 part_2 = val_1 /val_2/val_3 part_3- part 1 ** part_2 result = part_1 + part_2 + part_3 return result print(crazy_math(1,2,3) line 1: def crazy_math(val_1, val_2, val_3) line 2: part 1 = (val_1 * val_2 * val_3 line 3: part_2 = val_1 /val_2/ val_3 part_3 part 1 ** part_2 result = part 1 + part_2 + part_3 line 4: line 5: line 6: return result line 7: print(crazy_math(1,2,3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
