Search Header Logo

065. Extra Help

Authored by Robert Giordano

Computers

9th - 12th Grade

065. Extra Help
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)   ]

list1
list2

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)

row
rows

6.

DRAG AND DROP QUESTION

1 min • 1 pt

Media Image

Set up the for loop to print the sum of each row of the rows list

loop2: ​ (a)  

command: ​ (b)  

for x in num
sum += x
while num < len(row)
x += sum

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")

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?