Python Say s=”hello” what will be the return value of type(s) in Python? bool int str String bool int str String ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following results in a SyntaxError? ‘”Once upon a time…”, she said.’ ‘3\’ ”’That’s okay”’ “He said, ‘Yes!'” ‘”Once upon a time…”, she said.’ ‘3\’ ”’That’s okay”’ “He said, ‘Yes!'” ANSWER DOWNLOAD EXAMIANS APP
Python The expression a{5} will match _____________ characters with the previous regular expression. 5 or more 5 or less exactly 5 exactly 4 5 or more 5 or less exactly 5 exactly 4 ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? 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 All of the mentioned Reducing duplication of code 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 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 Makes the program code smaller Less 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 No restriction on the type values that can be passed to a given method Makes the program code smaller ANSWER DOWNLOAD EXAMIANS APP
Python In Python, which of the following cannot be a variable? on It __init__ in on It __init__ in ANSWER DOWNLOAD EXAMIANS APP