Have any questions?
[email protected]
English
Vietnamese
French
Spanish
Korean
Japanese
Thai
Chinese
Indonesian
Login
Signup
Contact
Login
Home
What is the following function compares elements of both lists?
Question 1:
What is the following function compares elements of both lists?
A.
cmp(list1, list2)
B.
len(list1, list2)
C.
max(list1, list2)
D.
min(list1, list2)
These questions are from this test. Would you like to take a practice test?
Python Quiz 5 | Englishfreetest.com
20 minutes
10 questions
Do test
Some questions from the same exam
What is output of following code −
a = (1, 2)
a[0] +=1
Which of the following function checks in a string that all characters are digits?
What is output for −
a = ['he', 'she', 'we']
' '.join(a)
What is the following function compares elements of both lists?
Which method is used to display a warning message in Python?
Which of the following function convert an integer to an unicode character in python?
Which of the following function checks in a string that all characters are titlecased?
Which of the following function gets the length of the string?
What will be the output of the following code?
i = 1
while True:
if(1%2==0):
break
print(i)
i += 2
What is the output of the code?
def f():
try:
return(1)
finally:
return(2)
k=f()
print(k)
Some other questions you may be interested in
Even though Bertha was a formidable gun, this one was even bigger. Paris Gun was used to bombard Paris during World War I. What was its main purpose?
Lange Max (long Max) was a World War I German cannon officially called 38cm SKL/45. Long Max was derived from the Paris Gun.
One of the most accomplished ballistics engineers, Gerald Bull, was head of project HARP. The Pentagon and the Canadian Department of National Defence joined efforts in this project, trying to study ballistics of re-entry vehicles at low cost. They used 16 inch (406 mm) 50 caliber gun, which was later extended to 100 calibers (40 m), to fire shells toward the Atlantic at 3600 m/s. Do you know what HARP stood for?
During World War I and II, this German family created some of the biggest guns in the world. In the years of WW I they sold cannons to the the Entente as well as the Central Powers. Their work became the center for German rearmament after 1933 (when Hitler came to power).
Two of the German K5(E) guns were called Anzio Annes, because they shelled the coast of Anzio during WW II.
Six gigantic guns were created during World War II, with the help of general Karl Baker. They were called Karl Monsers and were used in the Brest-Litovsk and Warsaw uprisings. What was their other deployment during the War?