Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please use python and continue the code on p2. Instructions The user provides for us values from the thermometers that we need to store 1.
please use python and continue the code on p2.
Instructions The user provides for us values from the thermometers that we need to store 1. Read four numbers from the user. Note - these values may not be integer valves, they are measurements! 2 Create a list, storing these four values one by one in the order they were read. 3. Print all elements in the list. 4 Subtract the first two elements (in index 0 and 1) and save the value in a new variable subtraction_result 5. Add the second two elements (in Index 2 and 3) and save the value in a new variable addition_result 6. Insert into the list the two new variables, subtraction_result then addition_result (use the append method) 7. Print the new list Example input 1 2 4 Example output 11.0, 2.0, 3.0, 4.01 11.0, 2.0, 3.0, 4.0, -1.0, 7.01 Think why does the output looks like this, even though we gave it integers in our input Please note that the first element of the list in python will be at the index o. main.py Load defau 1 numi - input 2 num2 - input 3 num3 - input 4 num4 - input) 5 6'' Type your code here. TI 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