What will be the output of the following code:
t = (10, 20, 30, 40, 50)
t = t[1:4]
t = t * 2
print(t)
a)(20, 30, 40, 20, 30, 40)
b)(10, 20, 30, 40, 50, 10, 20, 30, 40, 50)
c)(10, 20, 30, 40)
d)(20, 30)
Answer:
Answer by student
a)(20, 30, 40, 20, 30, 40)
Detailed answer by teachoo
The rest of the post is locked. Join Teachoo Black to see the full post.