Search Header Logo

Python / Hangman project

Authored by Ivan NEKIĆ

Computers

9th Grade

Used 21+ times

Python / Hangman project
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

27 questions

Show all answers

1.

OPEN ENDED QUESTION

1 min • 1 pt

What Python construct is used to define multi-line strings in the code?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What Python method takes the value it’s passed and returns a list?

list()

str()

tuple()

set()

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which list method is used to add elements to the end of a list in the code?

append()

extend()

insert()

pop()

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which operator is used to check if an element is present in a list?

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What string method is used to check if a string ends with a specific substring?

lower()

upper()

startswith()

endswith()

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What Python method is used to check if a string starts with a specific substring?

lower()

upper()

split()

startswith()

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which Python function is used to generate a sequence of numbers within a specified range?

range()

list()

random.randint()

enumerate()

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?