Python What is the result of cmp(3, 1) in python? True 1 False 0 True 1 False 0 ANSWER DOWNLOAD EXAMIANS APP
Python What arithmetic operators cannot be used with strings in Python? All of the mentioned – + * All of the mentioned – + * ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? String str int bool String str int bool ANSWER DOWNLOAD EXAMIANS APP
Python To add a new element to a list we use which Python command? list1.add(5) list1.addEnd(5) list1.append(5) list1.addLast(5) list1.add(5) list1.addEnd(5) list1.append(5) list1.addLast(5) ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.append(3, 5) list1.insert(3, 5) list1.insert(2, 5) list1.add(3, 5) list1.append(3, 5) list1.insert(3, 5) list1.insert(2, 5) list1.add(3, 5) ANSWER DOWNLOAD EXAMIANS APP