Complete the code to make a list of the 2 lists
list1 = ['a', 'b']
list2 = ['c', 'd']
bothLists = [ (a) , (b) ]
065. Extra Help
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Robert Giordano
FREE Resource
9 questions
Show all answers
1.
DRAG AND DROP QUESTION
1 min • 1 pt
Complete the code to make a list of the 2 lists
list1 = ['a', 'b']
list2 = ['c', 'd']
bothLists = [ (a) , (b) ]
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank to import the random module
import ______
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank to import the module to create bar and pie charts and give it the alias plt
import ___________________ as plt
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank to import the Cars.py module
import ____
5.
DRAG AND DROP QUESTION
1 min • 1 pt
Set up the for loop to traverse the list called rows
row1 = [9, 4, 1]
row2 = [5, 5, 2]
rows = [row1, row2]
for (a) in (b) :
print(row)
6.
DRAG AND DROP QUESTION
1 min • 1 pt
Set up the for loop to print the sum of each row of the rows list
loop2: (a)
command: (b)
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank to determine if the list has the value 7 and print "Hello" if it is.
myList = [1, 9, 5, 3, 9, 7, 3, 10, 23, 11, 75, 9, 100, 22, 65, 45, 58, 81]
if ______________:
print("Hello")
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct syntax to create a pie chart with the percs list?
import matplotlib.pyplot as plt
percs = [25, 35, 40]
_______________
plot(pie(percs))
plt.pie(percs))
pie.plot(percs)
percs.pie( )
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct syntax to create a bar chart with the freq list?
import matplotlib.pyplot as plt
freq = [17, 8, 30]
_______________
plot(bar(freq))
plt.bar(freq))
bar.plot(freq)
freq.bar( )
10 questions
Analisis Data Deforestasi (PLB)
Quiz
•
11th Grade
13 questions
untitled
Quiz
•
12th Grade - University
12 questions
Pandas and Matplotlib Quiz
Quiz
•
12th Grade
10 questions
Machine Learning 1
Quiz
•
9th Grade
10 questions
Matplotlib Pie Charts
Quiz
•
11th Grade
12 questions
Data visualization
Quiz
•
10th Grade - University
10 questions
matplotlib
Quiz
•
8th - 11th Grade
5 questions
Python - graficko predstavljanje nizova
Quiz
•
9th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade