Python LIST

Python LIST

Professional Development

10 Qs

quiz-placeholder

Similar activities

Django #1 (basic)

Django #1 (basic)

1st Grade - Professional Development

15 Qs

READING PRAXIS

READING PRAXIS

Professional Development

12 Qs

Verilog Fundamentals

Verilog Fundamentals

Professional Development

15 Qs

Post Test SGDP Batch 30 Day 2

Post Test SGDP Batch 30 Day 2

Professional Development

10 Qs

A Retrieval Practice Activity on Retrieval Practice!

A Retrieval Practice Activity on Retrieval Practice!

Professional Development

10 Qs

TELEMARKETING AND SALES VOCABULARY

TELEMARKETING AND SALES VOCABULARY

Professional Development

10 Qs

Basics of Electrical System at ROs

Basics of Electrical System at ROs

Professional Development

10 Qs

US Weekly Quiz

US Weekly Quiz

Professional Development

14 Qs

Python LIST

Python LIST

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

Vijayakumar R

Used 99+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of Following code?

List = ['spam', 2.0, 5, [10, 20]]

print(List[2])

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of Following code?

cheeses = ['Cheddar', 'Edam', 'Gouda']

numbers = [42, 123]

print(cheeses, numbers)

['Cheddar', 'Edam', 'Gouda'] [42, 123]

[42, 123] ['Cheddar', 'Edam', 'Gouda']

Compilation Error

No output

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is output of the following Code (Execute in Intrepreter)

cheeses = ['Cheddar', 'Edam', 'Gouda']

'Edam' in cheeses

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, list is mutable

True

False

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following commands will create a list?

list1 = list()

list1 = []

list1 = list([1, 2, 3])

list1 = new List()

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of the following code?

list = [1,2,3,4,5,6,7,8,9,10]

print(list[1:2])

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of the following code?

list = [1,2,3,4,5,6,7,8,9,10]

print(list[2:1])

Create a free account and access millions of resources

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?