Python How many except statements can a try-except block have? zero more than one more than zero one zero more than one more than zero one ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? All of the mentioned None of the mentioned Every object doesn’t have a unique id id returns the identity of the object All of the mentioned None of the mentioned Every object doesn’t have a unique id id returns the identity of the object ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? All of the mentioned Improving clarity of the code Decomposing complex problems into simpler pieces Reducing duplication of code All of the mentioned Improving clarity of the code Decomposing complex problems into simpler pieces Reducing duplication of code ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.search do? matches a pattern at any position in the string such a function does not exist matches a pattern at the start of the string none of the mentioned matches a pattern at any position in the string such a function does not exist matches a pattern at the start of the string none of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Methods provided by Python for receiving and sending TCP messages. s.recvfrom(),s.sendto() None of the mentioned s.recv(), s.send() Both (A) and (B) s.recvfrom(),s.sendto() None of the mentioned s.recv(), s.send() Both (A) and (B) ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when an exception occurs Always when no exception occurs when an exception occurs in to except block when an exception occurs Always when no exception occurs when an exception occurs in to except block ANSWER DOWNLOAD EXAMIANS APP