Select the statements which are not true: a. list can hold homogeneous content

Questions & AnswersCategory: PythonSelect the statements which are not true: a. list can hold homogeneous content
Geek Boy Staff asked 2 years ago

Select the statements which are not true:
a. List can hold homogeneous
b.

>>>objVar1=[1,2,3]
>>>objVar2=[10,20,30]
>>>objVar1+objVar2 will sum the list1 and list2 values

c. The insert() function is used to insert value in the first. For eg >>>list1.insert(2)
d. The append() is used to append multiple list values into a List.

1 Answers
Geek Boy Staff answered 2 years ago

a. List can hold homogeneous
c. The insert() function is used to insert value in the first. For eg >>>list1.insert(2)
d. The append() is used to append multiple list values into a List.