Computer Science, asked by Charan1406, 4 months ago

What will the following statement print?

print(tuple("tuple"), end=" ")

print(list("tuple"),end= "*")

print(dict())

Answers

Answered by allysia
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 Anonymous
0

Tuples are immutable i.e the value cannot be changed. So, Option D is correct.

Similar questions