Python What data type is the object below in Python? L = [1, 23, 'hello', 1] dictionary list array tuple dictionary list array tuple ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? zero more than zero more than one one zero more than zero more than one one ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following blocks will be executed whether an exception is thrown or not? Else Assert finally except Else Assert finally except 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 No restriction on the type values that can be passed to a given method Makes the program code smaller More restriction on the type values that can be passed to a given method Less 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 More restriction on the type values that can be passed to a given method ANSWER DOWNLOAD EXAMIANS APP
Python All keywords in Python are in _________ lower case UPPER CASE Capitalized None of the mentioned lower case UPPER CASE Capitalized None of the mentioned 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(2, 5) list1.insert(3, 5) list1.append(3, 5) list1.add(3, 5) list1.insert(2, 5) list1.insert(3, 5) list1.append(3, 5) ANSWER DOWNLOAD EXAMIANS APP