write a program in python to reverse the tuple
t1=(11,22,33,44,55)
Answers
Answered by
0
Answer:
The codes are:
___________________________
t1=(11,22,33,44,55)
b=[]
for i in range(1,len(t1)+1):
b.append(t1[-i])
print(tuple(b))
____________________________
Answered by
2
t1 = (11, 22, 33, 44, 55)
t2 = t1[::-1]
print(t2)
Similar questions