Python Basics Flashcard

Python Basics Flashcard

Assessment

Flashcard

English

6th - 8th Grade

Hard

Created by

Saleh Mahdy

FREE Resource

Student preview

quiz-placeholder

6 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What are used to convert a value to integer type?

Back

int()

2.

FLASHCARD QUESTION

Front

What function finds the length of a list?

Back

len()

3.

FLASHCARD QUESTION

Front

Which method adds all the elements from one list to the end of another list?

Back

.extend()

4.

FLASHCARD QUESTION

Front

Which method removes the first matching element from the list?

Back

.remove()

5.

FLASHCARD QUESTION

Front

Which method sorts the elements in a list in alphabetical or numerical order?

Back

.sort()

6.

FLASHCARD QUESTION

Front

Which method removes and returns the last element of the list?

Back

.pop()