Q. Output of the following python program will be?
Code:
List = [True, 50, 10] List.insert(2, 5) print(List, "Sum is: ", sum(List))
β
Correct Answer: (D)
[True, 50, 5, 10] Sum is: 66
List = [True, 50, 10] List.insert(2, 5) print(List, "Sum is: ", sum(List))
You must be Logged in to update hint/solution