Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 4 0 1 2 4 0 1 2 ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.insert(3, 5) list1.insert(2, 5) list1.add(3, 5) list1.append(3, 5) list1.insert(3, 5) list1.insert(2, 5) list1.add(3, 5) list1.append(3, 5) ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? Reducing duplication of code 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 ANSWER DOWNLOAD EXAMIANS APP
Python What is the result of cmp(3, 1) in python? True False 0 1 True False 0 1 ANSWER DOWNLOAD EXAMIANS APP
Python Is Python case sensitive when dealing with identifiers? yes None of the mentioned no machine dependent yes None of the mentioned no machine dependent ANSWER DOWNLOAD EXAMIANS APP
Python Methods provided by Python for receiving and sending TCP messages. None of the mentioned s.recv(), s.send() s.recvfrom(),s.sendto() Both (A) and (B) None of the mentioned s.recv(), s.send() s.recvfrom(),s.sendto() Both (A) and (B) ANSWER DOWNLOAD EXAMIANS APP