Q. What is the output of the following piece of code?#mod1def change(a): b=[x*2 for x in a] print(b)#mod2def change(a): b=[x*x for x in a] print(b)from mod1 import changefrom mod2 import change#mains=[1,2,3]change(s) (Solved)
1. [2,4,6].
2. [1,4,9].
3. [2,4,6].
4. There is a name clash
- d. There is a name clash