Question 6: If ['one', 'four', 'three', 'two']
is a list object, the sort()
function will return _____.
Question 7: Which of the following is true?
Question 8: If lst=[[1,2],[3,4]]
, which of the following will result true?
Question 9: What will be the output of the following?
lst=['Python', 'Java', 'C++']
lst.insert(len(L1),'SQL')
print(lst)
Question 10: What are list comprehensions?