Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Please answer both questions!
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 1.
2.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started