Python Which of the following creates a pattern object? re.assemble(str) re.regex(str) re.compile(str) re.create(str) re.assemble(str) re.regex(str) re.compile(str) re.create(str) ANSWER DOWNLOAD EXAMIANS APP
Python In Python, which of the following cannot be a variable? on It in __init__ on It in __init__ ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? A private method in a superclass can be overridden A non-private method in a superclass can be overridden Overriding isn’t possible in Python A subclass method can be overridden by the superclass A private method in a superclass can be overridden A non-private method in a superclass can be overridden Overriding isn’t possible in Python A subclass method can be overridden by the superclass ANSWER DOWNLOAD EXAMIANS APP
Python What is the result of cmp(3, 1) in python? 0 False True 1 0 False True 1 ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? when there is an exception when there is no exception always only if some condition that has been specified is satisfied when there is an exception when there is no exception always only if some condition that has been specified is satisfied ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? str int String bool str int String bool ANSWER DOWNLOAD EXAMIANS APP