Python Which of the following creates a pattern object? re.regex(str) re.assemble(str) re.create(str) re.compile(str) re.regex(str) re.assemble(str) re.create(str) re.compile(str) ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.append(3, 5) list1.add(3, 5) list1.insert(3, 5) list1.insert(2, 5) list1.append(3, 5) list1.add(3, 5) list1.insert(3, 5) list1.insert(2, 5) ANSWER DOWNLOAD EXAMIANS APP
Python To add a new element to a list we use which Python command? list1.append(5) list1.addEnd(5) list1.add(5) list1.addLast(5) list1.append(5) list1.addEnd(5) list1.add(5) list1.addLast(5) ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? bool String int str bool String int str ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 4 0 1 2 4 0 1 2 ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? None of the mentioned id returns the identity of the object All of the mentioned Every object doesn’t have a unique id None of the mentioned id returns the identity of the object All of the mentioned Every object doesn’t have a unique id ANSWER DOWNLOAD EXAMIANS APP