Question: python please 3. a = [1,2,3]; b = a; for i in range(3,0,-1): a[i] =i*a[i] b[2] = a[2] + 5 After running the program, what's
3. a = [1,2,3]; b = a; for i in range(3,0,-1): a[i] =i*a[i] b[2] = a[2] + 5 After running the program, what's the variable a?( ) A. [3,4,3) B. [3, 4, 8] C. [3,4,3,0) D. [3,4,8,0] 4. The following statement defining a dictionary, which one is incorrect? ( ) A. {(12,3): 212) B. {1:1) C. {abc':3} D. {[1.21: 123
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
