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 Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 0 2 1 4 0 2 1 4 ANSWER DOWNLOAD EXAMIANS APP
Python Which Python keyword is used for function? Define Function Fun Def Define Function Fun Def ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.add(3, 5) list1.append(3, 5) list1.insert(2, 5) list1.insert(3, 5) list1.add(3, 5) list1.append(3, 5) list1.insert(2, 5) list1.insert(3, 5) ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? only if some condition that has been specified is satisfied always when there is an exception when there is no exception only if some condition that has been specified is satisfied always when there is an exception when there is no exception ANSWER DOWNLOAD EXAMIANS APP
Python To add a new element to a list we use which Python command? list1.addLast(5) list1.append(5) list1.addEnd(5) list1.add(5) list1.addLast(5) list1.append(5) list1.addEnd(5) list1.add(5) ANSWER DOWNLOAD EXAMIANS APP