5. John is visiting a zoo. After roaming for sometime, he finds that he has lost his way. John wants to reach the entry gate. He remembers Vars lce-Cream, a landmark which he saw while strolling in the zoo, John finds that there are 3 ways to reach Vans Ice-Cream from his current location and from Vans Ice Cream there are 4 ways to reach the ertry/exit gate. Considering the above scenario, identify the most suitable data structure that can be used to represent all possible ways to reach the entry exit gate from John’s current location ?
6. Consider the following code :
def sample(v1,v2,v3=10,v4=3,*v5): v4+=2 v2= v1*v4 for v in v5: v = v*v print(v1,v2,v3,v4,v5) sample(0,0,1,2,3,4,5)
What will the value of v5 ?
c. Type Error