
Python
Authored by michael Bolinger
Instructional Technology
University
Used 2+ times

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."))
(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 BLANK QUESTION
1 min • 1 pt
What is the output of this function?
alpha = "abcde"
print(min(alpha))
(a)
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this function?
alpha = "abcde"
print(alpha + "f")
(a)
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))
(a)
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this function?
print("aAbByYzZaA".index("Z"))
(a)
7.
FILL IN THE BLANK 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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?