Python Which of the following is not a standard exception in Python? NameError AssignmentError ValueError IOError NameError AssignmentError ValueError IOError ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.match do? matches a pattern at the start of the string none of the mentioned such a function does not exist matches a pattern at any position in the string matches a pattern at the start of the string none of the mentioned such a function does not exist matches a pattern at any position in the string ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? A non-private method in a superclass can be overridden A private method in a superclass can be overridden Overriding isn’t possible in Python A subclass method can be overridden by the superclass A non-private method in a superclass can be overridden A 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 The expression a{5} will match _____________ characters with the previous regular expression. 5 or more exactly 4 5 or less exactly 5 5 or more exactly 4 5 or less exactly 5 ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? str String int bool str String int bool ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? 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) list1.append(3, 5) ANSWER DOWNLOAD EXAMIANS APP