6. WAP to remove an element 3 from the following tuple
T1=(1,2,3,4,5,6)
Answers
Answered by
1
T1 = (1, 2, 3, 4, 5, 6)
T2 = tuple([n for n in T1 if n != 3])
Similar questions