page 1 out of 3
page 1 out of 3
Question 1
aTuple = (100, 200, 300, 400, 500) print(aTuple[-2]) print(aTuple[-4:-1])
Question 2
Question 3
Question 4
Question 5
tupl=([2,3],"abc",0,9) tupl[0][1]=1 print(tupl)
Question 6
t=(‘a’,’b’,’c’) t1=t*2 print(len(t1))
Question 7
a = ('check',) n = 2 for i in range(int(n)): a = (a,) print(a)
Question 8
Question 9
a=("Hello") *3 print(a)
Question 10
page 1 out of 3
page 1 out of 3
Oops!!
To view the solution need to Login