9
Question Question 9
What will be the output of the following Python code ?
tp = ()
tp1 = tp * 2
print(len(tp1))- 0
- 2
- 1
- Error
0
Reason — Empty tuples multiplied with any number yield empty tuples only.
What will be the output of the following Python code ?
tp = ()
tp1 = tp * 2
print(len(tp1))0
Reason — Empty tuples multiplied with any number yield empty tuples only.