Search Header Logo

PYTHON VOCABULARY

Authored by Jeison Díaz

Computers

Professional Development

Used 4+ times

PYTHON VOCABULARY
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It lets you test if a condition in your code returns True, if not, the program will raise an Error.

ASSERT

ELIF

GLOBAL

IMPORT

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It can be used to erase an item at a given index and to remove slices from a list.

RAISE

NONE

DEL

RETURN

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is used in conditional statements (if statements), and decides what to do if the condition is False.

YIELD

RETURN

LAMBDA

ELSE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is used to end the current iteration in a for loop or a while loop and goes to the next iteration.

GLOBAL

CONTINUE

FINALLY

NONLOCAL

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is used to produce an exception to interrupt the code execution.

RAISE

TRY

WHILE

IF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is the same as "else if" in other programming languages.

EXCEPT

ELIF

ELSE

FINALLY

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It allows you to modify the variable outside of the current scope.

CLASS

WHILE

PASS

GLOBAL

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?