Home »
Python »
Python Tuples MCQs
What will be the output of the following code? | Tuples Que. 12
12. What will be the output of the following code,
T1=("hello","everyone","include helps","welcomes","you","all")
print(T1[0],T1[-2])
- Hello
- Hello all
- Hello you
- Error
Answer: C) Hello you
Explanation:
"Hello you" will be the output.