Question: Please answer both questions! 1. 2. Question 1 What is the value stored in 2? If this causes an error, write Error (case matters). PYTHON


Question 1 What is the value stored in 2? If this causes an error, write "Error" (case matters). PYTHON 3 1 x = 5 2 y = 2 3 4 z = y + x ** (* // y) 5 print(z) Make sure your output is well-formatted! This problem is just doing an exact match on the answer If your output is an int value like 3, you should write: If your output is a float value like 3.2, you should write: 3.2 If your output is a bool value like True , you should write (capitalization matters!): True If your output is a str value like 'abe', you should write (use single quotes for this problem): abc If the output is an error, you should write the following (case matters, no quotes). You do not need to indicate which type of error happens: Error Question 2 What is the value stored in message? If this causes some sort of error, answer that an error occurs. PYTHON i department = 'cse! 2 course = 163 3 4 message = department + + course + ' is fun!' Make sure your output is well-formatted! This problem is just doing an exact match on the answer If your output is an int value like 3, you should write: If your output is a float value like 3.2, you should write: 3.2 If your output is a bool value like True, you should write (capitalization matters!): True If your output is a str value like 'abe, you should write (use single quotes for this problem): abc If the output is an error, you should write the following (case matters, no quotes). You do not need to indicate which type of error happens Error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
