Advertisements
Advertisements
प्रश्न
Let setA = {3,6,9}, setB = {1,3,9}. What will be the result of the following snippet?
print(setA|setB)
विकल्प
{3,6,9,1,3,9}
{3,9}
{1}
{1,3,6,9}
MCQ
Advertisements
उत्तर
{1,3,6,9}
shaalaa.com
Introduction to List
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Pick odd one in connection with collection data type?
If List = [10 ,20 ,30 ,40 ,50] then List[2] = 35 will result ______
Which of the following statement is not correct?
How will you access the list elements in reverse order?
What will be the value of x in following python code?
List1 = [2,4,6[1,3,5]]
x = len(List1)
Differentiate del with remove( ) function of List.
Write a short note about sort( ).
What is the difference between List and Dictionary?
What the different ways to insert an element in a list. Explain with a suitable example.
What is the purpose of range( )? Explain with an example.
