Solved

What Is the Output of the Following Program

Question 6

Multiple Choice

What is the output of the following program?
T = (1, 2, 3, 4, 5, 6, 7, 8)
Print(T[T.index(5) ], end = " ")
Print(T[T[T[6]-3]-6])


A) 4 0
B) 5 8
C) 5 IndexError
D) 4 1

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions