Please select value of after executing the below code. What will be the value of var2

Questions & AnswersCategory: PythonPlease select value of after executing the below code. What will be the value of var2
Geek Boy Staff asked 2 years ago

Please select value of after executing the below code. What will be the value of var2.

>>>var1 = [1,2,3]
>>>var2 = var1
>>>var1.append(4)
>>>var2

a. var1
b. [1,2,3,4]
c. [1,2,3]
d. Error