Python The character Dot (that is, ‘.’) in the default mode, matches any character other than _____________ percentage symbol (%) ampersand (&) caret (^) newline percentage symbol (%) ampersand (&) caret (^) newline ANSWER DOWNLOAD EXAMIANS APP
Python What type of data is: a=[(1,1),(2,4),(3,9)]? Tuples of lists Invalid type Array of tuples List of tuples Tuples of lists Invalid type Array of tuples List of tuples ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.search do? matches a pattern at the start of the string such a function does not exist matches a pattern at any position in the string none of the mentioned matches a pattern at the start of the string such a function does not exist matches a pattern at any position in the string none of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following blocks will be executed whether an exception is thrown or not? Else Assert except finally Else Assert except finally ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? id returns the identity of the object None of the mentioned All of the mentioned Every object doesn’t have a unique id id returns the identity of the object None of the mentioned All of the mentioned Every object doesn’t have a unique id ANSWER DOWNLOAD EXAMIANS APP
Python What is the use of duck typing? Less 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 More restriction on the type values that can be passed to a given method Makes the program code smaller Less 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 More restriction on the type values that can be passed to a given method Makes the program code smaller ANSWER DOWNLOAD EXAMIANS APP