100+ Important MCQ on List in Python with Answers for class 11

MCQ on List in Python Q1. Which of the following statement will create list? a. L1=list( ) b. L1=[1,2,3,4] c. Both of the above d. None of the above Q2. Write the output of the following code : list(“welcome”) a. [‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’] b. (‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’) … Read more

15+ Common Python List Questions for Practice Important Programs

Most Common Python List Questions Q1. Write a function find(name) in python to display all the names from a list of names which are starting from alphabet ‘p’. Ans. name = [‘Amit’ , ‘Sumit’, ‘Pooja’ , ‘Mini’ , ‘Ronit’ , ‘Abdul’, ‘Poonam’] def find(name): for i in name: if i[0]==’p’ or i[0]==’P’: print(i) find(name) OUTPUT: … Read more

Free Class 11 Python List Questions for Practice

Python List Questions for Practice CHAPTER: LIST IN PYTHON Python List Questions ASSIGNMENT SET – 1 Time: 30 min                                                                                   M.M. – 20 Q1. What do you mean by List in Python?                                            [1] Q2. Write the output of the following code:                                         [1]         >>> A = [ ]         >>> A         >>> print(A) Q3. What … Read more

%d bloggers like this: