Computer Science, asked by asadahmad8076, 3 months ago

6. WAP to remove an element 3 from the following tuple
T1=(1,2,3,4,5,6)​

Answers

Answered by jai696
1

\huge\red{\mid{\fbox{\tt{Using\: Python\: 3}}\mid}}

T1 = (1, 2, 3, 4, 5, 6)

T2 = tuple([n for n in T1 if n != 3])

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions