page-banner
Chapter-5 (Part-1) Sequence Data Types
Q26.
लिस्ट को टपल में बदलें।<break-line><break-line>Convert a list into tuple.
A. tuple(seq)
B. list(tuple)
C. tuple * list
D. None of these
View Answer
Q27.
स्पष्ट रूप से एक संपूर्ण टपल हटा दें।<break-line><break-line>Explicitly remove an entire tuple.
A. del
B. remove
C. pop
D. None of these
View Answer
Q28.
टपल्स स्क्वायर ब्रैकेट की बजाय __________ का उपयोग करते हैं।<break-line><break-line>Tuples use __________ instead of square brackets.
A. parenthesis
B. reference
C. function
D. None of these
View Answer
Q29.
निम्नलिखित में से कौन सा फंक्शन डिक्शनरी से सभी कीज प्राप्त करता है?<break-line><break-line>Which function of dictionary gets all the keys?
A. getkeys()
B. key()
C. keys()
D. None of these
View Answer
Q30.
कौन सा कथन सही है?<break-line><break-line>Which statement is correct?
A. List is mutable & Tuple is immutable.
B. List is immutable & Tuple is mutable.
C. Both List and Tuple are Mutable.
D. Both List and Tuple are Immutable.
View Answer