18 1 point Consider the following program x5 4 1 split xxso
18. (1 point) Consider the following program x=\"5 4 1\" . split() x-x.sort() try: print(len(x)) except: print (type (x)) After it is run, what is printed by this program? (A) list (B) NoneType (C) 3 (D) TypeError
Solution
Answer: B. NonType
Because SORT method of LIST does not return any value but reverse the given object from the list.
