Advertisements
Advertisements
प्रश्न
What is a Pair? Give an example.
टिप्पणी लिखिए
उत्तर
- Pair is a compound structure that is made up of a list of Tuple
- The way of bundling two values together into one can be considered as a Pair.
- Example: Pr = [10,20]
a,b :=Pr
In the above example ‘a’ becomes 10,’ b’ becomes 20.
shaalaa.com
Introduction to Data Abstraction
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?