CBSE Class 11 Computer Science Question 45 of 88

Tuples and Dictionary — Question 10

Back to all questions
10
Question

Question 10

What is the difference between "book" and ('book',)?

Answer

The difference between "book" and ('book',) is that "book" is a string, representing a sequence of characters, while ('book',) is a tuple with a single element.