Advertisements
Advertisements
प्रश्न
Given the following Tuple.
Tup = (10, 20, 30, 50)
Which of the following statements will result in an error?
पर्याय
print(Tup [0])Tup.insert (2, 3)print(Tup[1:2])print(len(Tup))
MCQ
Advertisements
उत्तर
Tup.insert (2, 3)
Explanation:
Tuples are immutable and will not work with the insert method.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
