Python Which of the following is invalid variable in Python? __str__ = 1 None of the mentioned __a = 1 _a = 1 __str__ = 1 None of the mentioned __a = 1 _a = 1 ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when an exception occurs in to except block Always when an exception occurs when no exception occurs when an exception occurs in to except block Always when an exception occurs when no exception occurs ANSWER DOWNLOAD EXAMIANS APP
Python Methods provided by Python for receiving and sending TCP messages. s.recvfrom(),s.sendto() Both (A) and (B) s.recv(), s.send() None of the mentioned s.recvfrom(),s.sendto() Both (A) and (B) s.recv(), s.send() None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? Improving clarity of the code Reducing duplication of code All of the mentioned Decomposing complex problems into simpler pieces Improving clarity of the code Reducing duplication of code All of the mentioned Decomposing complex problems into simpler pieces ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.add(3, 5) list1.insert(3, 5) list1.append(3, 5) list1.insert(2, 5) list1.add(3, 5) list1.insert(3, 5) list1.append(3, 5) list1.insert(2, 5) ANSWER DOWNLOAD EXAMIANS APP