मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

What is a Tuple? Give an example. - Computer Science

Advertisements
Advertisements

प्रश्न

What is a Tuple? Give an example.

टीपा लिहा

उत्तर

A tuple is a comma-separated sequence of values surrounded by parentheses. A tuple is similar to a list. The difference between the two is that you cannot change the elements of a tuple once it is assigned whereas, in a list, elements can be changed.
Example colour = (‘red’, ‘blue’, ‘Green’)

shaalaa.com
Lists, Tuples
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 2: Data Abstraction - Evaluation [पृष्ठ १९]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
पाठ 2 Data Abstraction
Evaluation | Q 5. | पृष्ठ १९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×