Question: In python, this is dealing with memory. I can run it, but I want to know how Python stores these things. A. [39 points] Consider
A. [39 points] Consider the following script*, and then answer the questions. Put your answers into a file named hw07-answers.txt secondList -firstList thirdList_ ['p', 'y', 't', firstList.append 's') del secondList[3] thirdList . remove ( h' ) firstList[2,0,1,7,10,5] firstList[3:1 [0,0] secondList.clear () 'h', 'o', ' n'] 8 Note:the line numbers on the left side are not part of the script, they're just for reference 1. After line 4, what value is stored in the variable firstList and why? 2. After line 4, what value is stored in the variable secondList and why? 3. After line 4, what value is stored in the variable thirdList and why? 4. After line 5, what value is stored in the variable firstList and why? 5. After line 5, what value is stored in the variable secondList and why? 6. After line 5, what value is stored in the variable thirdList and why? 7. After line 6, what value is stored in the variable firstList and why? 8. After line 6, what value is stored in the variable secondList and why? 9. After line 6, what value is stored in the variable thirdList and why? 10. After line 7, what value is stored in the variable firstList and why? 11. After line 7, what value is stored in the variable secondList and why? 12. After line 8, what value is stored in the variable firstList and why? 13. After line 9, what value is stored in the variable secondList and why
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
