A
Q. What is the output of the following program?
Code:
T = (1, 2, 3, 4, 5, 6, 7, 8)
print(T[T.index(5)], end = " ")
print(T[T[T[6]-3]-6])
print(T[T.index(5)], end = " ")
print(T[T[T[6]-3]-6])
- Correct Answer - Option(B)
- Views: 13
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.