What will the following statement print?
print(tuple("tuple"), end=" ")
print(list("tuple"),end= "*")
print(dict())
Answers
Answered by
12
Answer:
[In] print(tuple("tuple"), end=" ")
[Out] ('t', 'u', 'p', 'l', 'e')
[In] print(list("tuple"),end= "*")
[Out] ['t', 'u', 'p', 'l', 'e']*
[In] print(dict())
[Out] {}
Answered by
0
Tuples are immutable i.e the value cannot be changed. So, Option D is correct.
Similar questions
Social Sciences,
2 months ago
Science,
2 months ago
Math,
4 months ago
Math,
4 months ago
Math,
10 months ago