Python What is the result of cmp(3, 1) in python? True 0 1 False True 0 1 False ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is invalid variable in Python? __a = 1 __str__ = 1 _a = 1 None of the mentioned __a = 1 __str__ = 1 _a = 1 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? Every object doesn’t have a unique id None of the mentioned id returns the identity of the object All of the mentioned Every object doesn’t have a unique id None of the mentioned id returns the identity of the object All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? Overriding isn’t possible in Python A private method in a superclass can be overridden A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass Overriding isn’t possible in Python A private method in a superclass can be overridden A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following blocks will be executed whether an exception is thrown or not? except Assert Else finally except Assert Else finally ANSWER DOWNLOAD EXAMIANS APP
Python What type of data is: a=[(1,1),(2,4),(3,9)]? Array of tuples Invalid type List of tuples Tuples of lists Array of tuples Invalid type List of tuples Tuples of lists ANSWER DOWNLOAD EXAMIANS APP