List in Python Welcome to your Python Quiz - List in Python Name Email List in Python can accommodate data of various data types Yes No The index of a List in Python always starts with 0 Add description here! Yes, It starts with 0 No, It starts with 1 To get the last element of a List, use (a) List_name [last] (b) List_name [len(List_name) – 1] (c) List_name [-1] Both (b) and (c) List supports both Positive and Negative indexing, in Python Yes No We can add one or multiple elements in a list at a time Yes No List_name. pop () method will remove Any random element from the List_name Last element from the List_name Specific element from the List_name None of these Can we replace an element with another in List ? Yes, ofcourse Not Possible String can also be considered as list of characters Yes No Sorting method can be applicable on mixed data type list as well Ofcourse, Yes No way dude !! List_name.clear() will Delete the List_name itself Delete all elements as well as the List_name Delete all the elements of the List_name Nothing A list can be one of the elements of the other list Yes, Possible No way List_name.count(elem) will Count the total number of elements Same as the len (List_name) Count the repetition of a specific element No !dea !! Membership operator works on the list Yes No Sequence unpacking works on the list Yes No 1 out of 1 Related Posts