Search Header Logo

Python

Authored by michael Bolinger

Instructional Technology

University

Used 2+ times

Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

55 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
print("www.cisco.com".lstrip("w."))

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these methods uses whitespace characters to convert a string into a list?

Convert

Seperate

Replace

Join

Split

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
alpha = "abcde"
print(min(alpha))

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
alpha = "abcde"
print(alpha + "f")

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
i_am = 'I\'m'
print(len(i_am))

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
print("aAbByYzZaA".index("Z"))

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
alpha = "vwxyz"
print(min(alpha))

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?