Python
Which of the following creates a pattern object?

re.assemble(str)
re.regex(str)
re.create(str)
re.compile(str)

ANSWER DOWNLOAD EXAMIANS APP

Python
What is the use of duck typing?

More restriction on the type values that can be passed to a given method
No restriction on the type values that can be passed to a given method
Less restriction on the type values that can be passed to a given method
Makes the program code smaller

ANSWER DOWNLOAD EXAMIANS APP