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 BLANKS QUESTION

1 min • 1 pt

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

(a)  

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 BLANKS QUESTION

1 min • 1 pt

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

(a)  

4.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

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

(a)  

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

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

(a)  

6.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

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

(a)  

7.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

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

(a)  

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?