Python Which of the following creates a pattern object? re.assemble(str) re.compile(str) re.create(str) re.regex(str) re.assemble(str) re.compile(str) re.create(str) re.regex(str) 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 The expression a{5} will match _____________ characters with the previous regular expression. exactly 4 5 or less 5 or more exactly 5 exactly 4 5 or less 5 or more exactly 5 ANSWER DOWNLOAD EXAMIANS APP
Python In Python, which of the following cannot be a variable? It __init__ in on It __init__ in on ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? All of the mentioned Reducing duplication of code Improving clarity of the code Decomposing complex problems into simpler pieces All of the mentioned Reducing duplication of code Improving clarity of the code Decomposing complex problems into simpler pieces ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.match do? matches a pattern at any position in the string matches a pattern at the start of the string such a function does not exist none of the mentioned matches a pattern at any position in the string matches a pattern at the start of the string such a function does not exist none of the mentioned ANSWER DOWNLOAD EXAMIANS APP