question stringclasses 382
values | hint stringclasses 97
values | A stringlengths 1 460 | B stringlengths 1 460 | C stringlengths 1 460 ⌀ | D stringlengths 1 460 ⌀ | label class label 4
classes | image imagewidth (px) 55 512 |
|---|---|---|---|---|---|---|---|
how many dogs are there? | null | 0 | 2 | 1 | 3 | 2C | |
The object shown in this figure: | null | Is the hardest naturally occurring substance on Earth. | Conducts electricity well at room temperature. | Is typically found in igneous rocks like basalt and granite. | Has a low melting point compared to other minerals. | 0A | |
The object shown in this figure: | null | Is the only metal that is liquid at room temperature. | Can be easily dissolved in water. | Has a low boiling point compared to other metals. | Is attracted to magnets. | 0A | |
The object shown in this figure: | null | Is a colorless, odorless gas. | Can be ionized to produce a plasma. | Has a high boiling point compared to other noble gases. | Is the most abundant element in the universe. | 0A | |
The object shown in this figure: | null | Makes up about 78% of the Earth's atmosphere. | Is a metal that is often used in construction materials. | Has a high boiling point compared to other gases. | Is a good conductor of electricity. | 0A | |
Which category does this image belong to? | null | oil painting | sketch | digital art | photo | 0A | |
Which category does this image belong to? | null | oil painting | sketch | digital art | photo | 1B | |
Which category does this image belong to? | null | oil painting | sketch | digital art | photo | 1B | |
Which category does this image belong to? | null | oil painting | sketch | digital art | photo | 1B | |
Which category does this image belong to? | null | oil painting | sketch | digital art | photo | 2C | |
Which category does this image belong to? | null | oil painting | sketch | digital art | photo | 2C | |
Which category does this image belong to? | null | oil painting | sketch | digital art | photo | 3D | |
Which category does this image belong to? | null | oil painting | sketch | digital art | photo | 3D | |
Which category does this image belong to? | null | remote sense image | photo | painting | map | 0A | |
Which category does this image belong to? | null | remote sense image | photo | painting | map | 0A | |
Which category does this image belong to? | null | remote sense image | photo | painting | map | 3D | |
Which category does this image belong to? | null | remote sense image | photo | painting | map | 3D | |
Which category does this image belong to? | null | medical CT image | 8-bit | digital art | painting | 1B | |
Which category does this image belong to? | null | medical CT image | 8-bit | digital art | painting | 1B | |
Which category does this image belong to? | null | medical CT image | 8-bit | digital art | photo | 0A | |
Which category does this image belong to? | null | medical CT image | 8-bit | digital art | photo | 0A | |
what style is depicted in this image? | null | impressionism | post-Impressionism | modernism | dadaism | 0A | |
what style is depicted in this image? | null | impressionism | post-Impressionism | modernism | dadaism | 0A | |
what style is depicted in this image? | null | impressionism | post-Impressionism | modernism | dadaism | 1B | |
what style is depicted in this image? | null | impressionism | post-Impressionism | modernism | dadaism | 2C | |
what style is depicted in this image? | null | impressionism | post-Impressionism | modernism | dadaism | 2C | |
what style is depicted in this image? | null | impressionism | post-Impressionism | modernism | dadaism | 3D | |
what style is depicted in this image? | null | impressionism | post-Impressionism | modernism | dadaism | 3D | |
what style is depicted in this image? | null | impressionism | post-Impressionism | modernism | dadaism | 3D | |
Which category does this image belong to? | null | MRI image | icon | microscopic image | abstract painting | 0A | |
Which category does this image belong to? | null | MRI image | icon | microscopic image | abstract painting | 0A | |
Which category does this image belong to? | null | MRI image | icon | microscopic image | abstract painting | 1B | |
Which category does this image belong to? | null | MRI image | icon | microscopic image | abstract painting | 2C | |
Which category does this image belong to? | null | MRI image | icon | microscopic image | abstract painting | 2C | |
Which category does this image belong to? | null | MRI image | icon | microscopic image | abstract painting | 3D | |
Which category does this image belong to? | null | MRI image | icon | microscopic image | abstract painting | 3D | |
what style is this painting? | null | ink wash painting | watercolor painting | gouache painting | pen and ink | 0A | |
what style is this painting? | null | ink wash painting | watercolor painting | gouache painting | pen and ink | 0A | |
what style is this painting? | null | ink wash painting | watercolor painting | gouache painting | pen and ink | 0A | |
what style is this painting? | null | ink wash painting | watercolor painting | gouache painting | pen and ink | 1B | |
what style is this painting? | null | ink wash painting | watercolor painting | gouache painting | pen and ink | 3D | |
what style is this painting? | null | ink wash painting | watercolor painting | gouache painting | pen and ink | 3D | |
what style is this painting? | null | ink wash painting | watercolor painting | gouache painting | pen and ink | 3D | |
what python code is gonna generate the result as shown in the image? | null | if 5 > 2:
print("Five is greater than two!")
print("Five is greater than two!") | if 5 > 2:
print("Five is greater than two!")
if 5 > 2:
print("Five is greater than two!") | #This is a comment.
print("Hello, World!") | if 5 > 2:
print("Five is greater than two!") | 1B | |
what python code is gonna generate the result as shown in the image? | null | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1965
}
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1965
}
print(thisdict["brand"]) | thisdict = {
"brand": "Ford",
"electric": False,
"year": 1965,
"colors": ["red", "white", "blue"]
}
print(thisdict) | thisdict = dict(name = "John", age = 37, country = "Norway")
print(thisdict) | 1B | |
what python code is gonna generate the result as shown in the image? | null | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1966
}
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1966
}
print(thisdict["brand"]) | thisdict = {
"brand": "Ford",
"electric": False,
"year": 1966,
"colors": ["red", "white", "blue"]
}
print(thisdict) | thisdict = dict(name = "John", age = 38, country = "Norway")
print(thisdict) | 2C | |
what python code is gonna generate the result as shown in the image? | null | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1967
}
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1967
}
print(thisdict["brand"]) | thisdict = {
"brand": "Ford",
"electric": False,
"year": 1967,
"colors": ["red", "white", "blue"]
}
print(thisdict) | thisdict = dict(name = "John", age = 39, country = "Norway")
print(thisdict) | 3D | |
what python code is gonna generate the result as shown in the image? | null | for x in "banana":
print(x) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
print(x)
if x == "banana":
break | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
break
print(x) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x) | 0A | |
what python code is gonna generate the result as shown in the image? | null | for x in "banana":
print(x) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
print(x)
if x == "banana":
break | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
break
print(x) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x) | 3D | |
what python code is gonna generate the result as shown in the image? | null | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x) | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __str__(self):
return f"{self.name}({self.age})"
p1 = Person("John", 36)
print(p1) | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
p1.myfunc() | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
del p1.age
print(p1.age) | 0A | |
what python code is gonna generate the result as shown in the image? | null | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x) | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __str__(self):
return f"{self.name}({self.age})"
p1 = Person("John", 36)
print(p3) | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
p3.myfunc() | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
del p1.age
print(p3.age) | 2C | |
what code would generate this webpage in the browser? | null | <!DOCTYPE html>
<html>
<body>
<h1>JavaScript Functions</h1>
<p>Call a function which performs a calculation and returns the result:</p>
<p id="demo"></p>
<script>
let x = myFunction(4, 3);
document.getElementById("demo").innerHTML = x;
function myFunction(a, b) {
return a * b;
}
</script>
</body>
</html> | <!DOCTYPE html>
<html>
<body>
<h1>JavaScript Functions</h1>
<p>Invoke (call) a function that converts from Fahrenheit to Celsius:</p>
<p id="demo"></p>
<script>
function toCelsius(f) {
return (5/9) * (f-32);
}
let value = toCelsius(77);
document.getElementById("demo").innerHTML = value;
</script>
</body>
</html> | <!DOCTYPE html>
<html>
<body>
<h1>JavaScript Functions</h1>
<p>Invoke (call) a function to convert from Fahrenheit to Celsius:</p>
<p id="demo"></p>
<script>
function toCelsius(f) {
return (5/9) * (f-32);
}
let value = toCelsius();
document.getElementById("demo").innerHTML = value;
</script>
</body>
</html> | <!DOCTYPE html>
<html>
<body>
<h1>JavaScript Functions</h1>
<p>Using a function as a variable:</p>
<p id="demo"></p>
<script>
let text = "The temperature is " + toCelsius(77) + " Celsius.";
document.getElementById("demo").innerHTML = text;
function toCelsius(fahrenheit) {
return (5/9) * (fahrenheit-32);
}
</script... | 0A | |
what code would generate this webpage in the browser? | null | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p id="demo"></p>
<script>
// Create an object:
const person = {
firstName: "John",
lastName: "Doe",
age: 50,
eyeColor: "blue"
};
// Display some data from the object:
document.getElementById("demo").innerHTML =
person.firstName + " is " + person.age + " yea... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>There are two different ways to access an object property.</p>
<p>You can use person.property or person["property"].</p>
<p id="demo"></p>
<script>
// Create an object:
const person = {
firstName: "John",
lastName : "Doe",
id : 5566
};
// Display some d... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>An object method is a function definition, stored as a property value.</p>
<p id="demo"></p>
<script>
// Create an object:
const person = {
firstName: "John",
lastName: "Doe",
id: 5566,
fullName: function() {
return this.firstName + " " + this.lastName;
}
... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>If you access an object method without (), it will return the function definition:</p>
<p id="demo"></p>
<script>
// Create an object:
const person = {
firstName: "John",
lastName : "Doe",
id : 5566,
fullName : function() {
return this.firstName + " " + t... | 0A | |
what code would generate this webpage in the browser? | null | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p id="demo"></p>
<script>
// Create an object:
const person = {
firstName: "John",
lastName: "Doe",
age: 52,
eyeColor: "blue"
};
// Display some data from the object:
document.getElementById("demo").innerHTML =
person.firstName + " is " + person.age + " yea... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>There are two different ways to access an object property.</p>
<p>You can use person.property or person["property"].</p>
<p id="demo"></p>
<script>
// Create an object:
const person = {
firstName: "John",
lastName : "Doe",
id : 5568
};
// Display some d... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>An object method is a function definition, stored as a property value.</p>
<p id="demo"></p>
<script>
// Create an object:
const person = {
firstName: "John",
lastName: "Doe",
id: 5568,
fullName: function() {
return this.firstName + " " + this.lastName;
}
... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>If you access an object method without (), it will return the function definition:</p>
<p id="demo"></p>
<script>
// Create an object:
const person = {
firstName: "John",
lastName : "Doe",
id : 5568,
fullName : function() {
return this.firstName + " " + t... | 2C | |
Which Python code can generate the content of the image? | null | def list_to_dictionary(keys, values):
return dict(zip(keys, values))
list1 = [0, 2, 3]
list2 = ['one', 'two', 'three']
print(list_to_dictionary(list1, list2)) | def list_to_dictionary(keys, values):
return dict(zip(keys, values))
list1 = [1, 4, 3]
list2 = ['one', 'two', 'three']
print(list_to_dictionary(list1, list2)) | def list_to_dictionary(keys, values):
return dict(zip(keys, values))
list1 = [1, 2, 4]
list2 = ['one', 'two', 'three']
print(list_to_dictionary(list1, list2)) | def list_to_dictionary(keys, values):
return dict(zip(keys, values))
list1 = [1, 2, 3]
list2 = ['one', 'two', 'three']
print(list_to_dictionary(list1, list2)) | 3D | |
Which Python code can generate the content of the image? | null | a, b = 1,1
try:
print(a/b)
except ZeroDivisionError:
print("Can not divide by zero")
finally:
print("Executing finally block") | a, b = 1,0
try:
print(a/b)
except ZeroDivisionError:
print("Can not divide by zero")
finally:
print("Executing finally block") | a, b = 1,0
try:
print(a/b)
except ZeroDivisionError:
print("Can not divide by zero")
finally:
print("block") | a, b = 1,2
try:
print(a/b)
except ZeroDivisionError:
print("Can not divide by zero")
finally:
print("Executing finally block") | 1B | |
Which Python code can generate the content of the image? | null | list = ["Hello", "world", "Ok", "Bye!"]
combined_string = " ".join(list)
print(combined_string) | list = ["Hello", "world", "Ok"]
combined_string = " ".join(list)
print(combined_string) | list = ["Hello", "world", "Bye!"]
combined_string = " ".join(list)
print(combined_string) | list = ["world", "Ok", "Bye!"]
combined_string = " ".join(list)
print(combined_string) | 0A | |
Which Python code can generate the content of the image? | null | from collections import Counter
result = Counter('Canada')
print(result) | from collections import Counter
result = Counter('strawberry')
print(result) | from collections import Counter
result = Counter('banana')
print(result) | from collections import Counter
result = Counter('apple')
print(result) | 2C | |
Which Python code can generate the content of the image? | null | count = 0
while (count < 10):
print 'The count is:', count
count = count + 1
print "Good bye!" | count = 0
while (count < 9):
print 'The count is:', count
count = count + 1
print "Good bye!" | count = 1
while (count < 9):
print 'The count is:', count
count = count + 1
print "Good bye!" | count = 0
while (count < 9):
print 'The count is:', count
count = count + 2
print "Good bye!" | 1B | |
Which Python code can generate the content of the image? | null | count = 1
while count < 5:
print count, " is less than 5"
count = count + 1
else:
print count, " is not less than 5" | count = 0
while count < 5:
print count, " is less than 5"
count = count + 1
else:
print count, " is not less than 5" | count = 0
while count < 5:
print count, " is less than 5"
count = count + 1
else:
print count, " is not less than 6" | count = 0
while count < 5:
print count, " is less than 5"
count = count + 2
else:
print count, " is not less than 5" | 1B | |
Which Python code can generate the content of the image? | null | list = []
list.append('Google')
list.append('Runoob')
print list | list = []
list.append(’Baidu')
list.append('Runoob')
print list | list = []
list.append(’Microsoft')
list.append('Runoob')
print list | list = []
list.append('Runoob')
list.append('Google')
print list | 0A | |
Which Python code can generate the content of the image? | null | list1 = ['physics', 'chemistry', 1997, 2000]
print list1
del list1[3]
print "After deleting value at index 2 : "
print list1 | list1 = ['physics', 'chemistry', 1998, 2000]
print list1
del list1[2]
print "After deleting value at index 2 : "
print list1 | list1 = ['physics', 'chemistry', 1997, 2000]
print list1
del list1[2]
print "After deleting value at index 2 : "
print list1 | list1 = ['physics', 'chemistry', 1997, 2000]
print list1
del list1[4]
print "After deleting value at index 2 : "
print list1 | 2C | |
Which Python code can generate the content of the image? | null | tup1 = ('physics', 'chemistry', 1997, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print "tup1[0]: ", tup1[0]
print "tup2[1:5]: ", tup2[1:5] | tup1 = ('physics', 'chemistry', 1997, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print "tup1[0]: ", tup1[0]
print "tup2[1:5]: ", tup2[2:5] | tup1 = ('physics', 'chemistry', 1990, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print "tup1[0]: ", tup1[0]
print "tup2[1:5]: ", tup2[1:5] | tup1 = ('physics', 'chemistry', 1990, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print "tup1[0]: ", tup1[0]
print "tup2[2:5]: ", tup2[1:5] | 0A | |
Which Python code can generate the content of the image? | null | counter = 100
miles = 1001.0
name = "John"
print counter
print miles
print name | counter = 100
miles = 1000.0
name = "Gary"
print counter
print miles
print name | counter = 100
miles = 1000.0
name = "John"
print counter
print miles
print name | counter = 110
miles = 1000.0
name = "John"
print counter
print miles
print name | 2C | |
Which Python code can generate the content of the image? | null | print str
print str[0]
print str[2:5]
print str[2:]
print str * 2
print str + "TEST" | print str
print str[1]
print str[2:5]
print str[2:]
print str * 2
print str + "TEST" | print str
print str[0]
print str[1:5]
print str[2:]
print str * 2
print str + "TEST" | print str
print str[0]
print str[2:5]
print str[3:]
print str * 2
print str + "TEST" | 0A | |
Which Python code can generate the content of the image? | null | list = [ 'runoob', 786 , 2.23, 'john', 70.2 ]
tinylist = [123, 'john']
print list
print list[1]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist | list = [ 'runoob', 786 , 2.23, 'john', 70.2 ]
tinylist = [124, 'john']
print list
print list[0]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist | list = [ 'runoob', 787 , 2.23, 'john', 70.2 ]
tinylist = [123, 'john']
print list
print list[0]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist | list = [ 'runoob', 786 , 2.23, 'john', 70.2 ]
tinylist = [123, 'john']
print list
print list[0]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist | 3D | |
Which Python code can generate the content of the image? | null | dict = {}
dict['one'] = "This is one"
dict[2] = "This is two"
tinydict = {'name': 'runoob','code':6734, 'dept': 'sales'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values() | dict = {}
dict['one'] = "This is TWO"
dict[2] = "This is two"
tinydict = {'name': 'runoob','code':6734, 'dept': 'sales'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values() | dict = {}
dict['one'] = "This is one"
dict[2] = "This is two"
tinydict = {'name': 'runoob','code':6735, 'dept': 'sales'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values() | dict = {}
dict['one'] = "This is one"
dict[2] = "This is two"
tinydict = {'name': 'runoob','code':6734, 'dept': 'cost'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values() | 0A | |
Which Python code can generate the content of the image? | null | import re
print(re.match('www', 'www.runoob.com').span())
print(re.match('com', 'www.runoob.com')) | import re
print(re.match('www', 'www.runoob.com').span())
print(re.match('cn', 'www.runoob.com')) | import re
print(re.match('http', 'www.runoob.com').span())
print(re.match('com', 'www.runoob.com')) | import re
print(re.match('www', 'www.runoob.com'))
print(re.match('com', 'www.runoob.com')) | 0A | |
Which Python code can generate the content of the image? | null | import re
line = "Cats are smarter than dogs"
matchObj = re.match( r'(.*) are (.*?) .*', line, re.M|re.I)
if matchObj:
print "matchObj.group() : ", matchObj.group()
print "matchObj.group(1) : ", matchObj.group(1)
print "matchObj.group(2) : ", matchObj.group(2)
else:
print "No match" | import re
line = "Cats are smarter than dogs"
matchObj = re.match( r'(.*) are (.*?) .*', line, re.M|re.I)
if matchObj:
print "matchObj.group() : ", matchObj.group()
print "matchObj.group(1) : ", matchObj.group(1)
print "matchObj.group(2) : ", matchObj.group(2)
else:
print "No match!!" | import re
line = "Cats are smarter than pigs"
matchObj = re.match( r'(.*) are (.*?) .*', line, re.M|re.I)
if matchObj:
print "matchObj.group() : ", matchObj.group()
print "matchObj.group(1) : ", matchObj.group(1)
print "matchObj.group(2) : ", matchObj.group(2)
else:
print "No match!!" | import re
line = "Cats are smarter than pigs"
matchObj = re.match( r'(.*) are (.*?) .*', line, re.M|re.I)
if matchObj:
print "matchObj.group() : ", matchObj.group()
print "matchObj.group(1) : ", matchObj.group(1)
print "matchObj.group(2) : ", matchObj.group(3)
else:
print "No match!!" | 1B | |
Which Python code can generate the content of the image? | null | import re
def double(matched):
value = int(matched.group('value'))
return str(value * 2)
s = 'A23G4HFD567'
print(re.sub('(?P<value>\d+)', double, s)) | import re
def double(matched):
value = int(matched.group('value'))
return str(value * 3)
s = 'A23G4HFD567'
print(re.sub('(?P<value>\d+)', double, s)) | import re
def double(matched):
value = int(matched.group('value'))
return str(value * 2)
s = 'A23G4HFD568'
print(re.sub('(?P<value>\d+)', double, s)) | import re
def double(matched):
value = int(matched.group('value'))
return str(value * 2)
s = 'B23G4HFD567'
print(re.sub('(?P<value>\d+)', double, s)) | 0A | |
Which Python code can generate the content of the image? | null | import re
result = re.findall(r'(\w+)=(\d+)', 'set width=20 and height=10')
print(result) | import re
result = re.findall(r'(\w+)=(\d+)', 'set width=30 and height=10')
print(result) | import re
result = re.findall(r'(\w+)=(\d+)', 'set width=20 and height=15')
print(result) | import re
result = re.match(r'(\w+)=(\d+)', 'set width=20 and height=10')
print(result) | 0A | |
Which Python code can generate the content of the image? | null | import math
content = dir(math)
print content | import re
content = dir(math)
print content | import numpy
content = dir(math)
print content | import math
content = locals(math)
print content | 0A | |
Which Python code can generate the content of the image? | null | flag = False
name = 'lumen'
if name == 'python':
flag = True
print 'welcome boss'
else:
print name | flag = False
name = 'luren'
if name == 'python':
flag = True
print 'welcome boss'
else:
print 'nothing' | flag = False
name = 'lemon'
if name == 'python':
flag = True
print 'welcome boss'
else:
print name | flag = False
name = 'luren'
if name == 'python':
flag = True
print 'welcome boss'
else:
print name | 3D | |
Which Python code can generate the content of the image? | null | print "My name is %s and weight is %d kg!" % ('Zara', 21) | print "My name is %s and weight is %d kg!" % ('Zara', 11) | print "My name is %s and weight is %d g!" % ('Zara', 21) | print "My name is %s and weight is %d kg!" % ('Laura', 21) | 0A | |
Which Python code can generate the content of the image? | null | def printinfo( name, age = 35 ):
print "Name: ", name
print "Age ", age
return
printinfo( age=50, name="miki" )
printinfo( name="miki" ) | def printinfo( name, age = 35 ):
print "Name: ", name
print "Age ", age
return
printinfo( age=52, name="miki" )
printinfo( name="miki" ) | def printinfo( name, age = 33 ):
print "Name: ", name
print "Age ", age
return
printinfo( age=52, name="miki" )
printinfo( name="miki" ) | def printinfo( name, age = 30 ):
print "Name: ", name
print "Age ", age
return
printinfo( age=50, name="miki" )
printinfo( name="miki" ) | 0A | |
Which Python code can generate the content of the image? | null | n = 6
string = "Hello!"
print(string * n) | n = 5
string = "Hello!"
print(string * n) | n = 7
string = "Hello!"
print(string * n) | n = 2
string = "Hello!"
print(string * n) | 1B | |
Which Python code can generate the content of the image? | null | def get_vowels(string):
return [vowel for vowel in string if vowel in 'aeiou']
print("Vowels are:", get_vowels('This is some random string')) | def get_vowels(string):
return [vowel for vowel in string if vowel in 'weiou']
print("Vowels are:", get_vowels('This is some random string')) | def get_vowels(string):
return [vowel for vowel in string if vowel in 'aeiou']
print("Vowels are:", get_vowels('This is a string')) | def get_vowels(string):
return [vowel for vowel in string if vowel in 'aeiou']
print("Vowels are:", get_vowels('string')) | 0A | |
What's the function of the demonstrated object? | null | Cut vegetables | stir | Water purification | Boiling water | 0A | |
What's the function of the demonstrated object? | null | Cut vegetables | stir | Water purification | Boiling water | 2C | |
What's the function of the demonstrated object? | null | Cut vegetables | stir | Water purification | Boiling water | 3D | |
What's the function of the demonstrated object? | null | Write | compute | binding | copy | 0A | |
What's the function of the demonstrated object? | null | Write | compute | binding | copy | 3D | |
What's the function of the demonstrated object? | null | Draw | cut | deposit | refrigeration | 0A | |
What's the function of the demonstrated object? | null | Draw | cut | deposit | refrigeration | 2C | |
What's the function of the demonstrated object? | null | hit | Tighten tightly | adjust | Clamping | 0A | |
What's the function of the demonstrated object? | null | hit | Tighten tightly | adjust | Clamping | 2C | |
What's the function of the demonstrated object? | null | hit | Tighten tightly | adjust | Clamping | 3D | |
What's the function of the demonstrated object? | null | Separatist | Clamping | drill | incise | 0A | |
What's the function of the demonstrated object? | null | Separatist | Clamping | drill | incise | 2C | |
What's the function of the demonstrated object? | null | excavate | transport | weld | Measure the level | 0A | |
What's the function of the demonstrated object? | null | excavate | transport | weld | Measure the level | 1B | |
What's the function of the demonstrated object? | null | excavate | transport | weld | Measure the level | 2C | |
What's the function of the demonstrated object? | null | Cut the grass | Measure the temperature | burnish | Brushing | 1B | |
What's the function of the demonstrated object? | null | Cut the grass | Measure the temperature | burnish | Brushing | 2C | |
What's the function of the demonstrated object? | null | clean | measurement | Bulldozing | Cutting platform | 1B | |
What's the function of the demonstrated object? | null | clean | measurement | Bulldozing | Cutting platform | 2C | |
What's the function of the demonstrated object? | null | clean | measurement | Bulldozing | Cutting platform | 3D | |
What's the function of the demonstrated object? | null | Cooking | Cook soup | Fry | steam | 0A | |
What's the function of the demonstrated object? | null | Cooking | Cook soup | Fry | steam | 1B | |
What's the function of the demonstrated object? | null | Cooking | Cook soup | Fry | steam | 2C |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.