T=("Orange",[10,20,30],(5,15,25)). give a correct way to access value 20 from the above tuple.
Answers
Answered by
1
Answer:
print (T[1][1])
Explanation:
in the above case first [1] represent 2nd element of main tuple is accessed then second [1] represent the second element of that nested tuble is to be accessed
Similar questions