Login
Sign up for FREE
arrow_back
Library
Strings Quiz
By Mickey Arnold
star
star
star
star
star
star
star
star
star
star
share
Share
Last updated 10 months ago
7 Questions
Add This Formative
1 point
1
Question 1
1.
s = "apluscompsci"
print( s[4] )
1 point
1
Question 2
2.
s = "apluscompsci"
print( len(s) )
1 point
1
Question 3
3.
s = "apluscompsci"
print( s[3:5] )
1 point
1
Question 4
4.
s = "apluscompsci"
print( s[:-3] )
1 point
1
Question 5
5.
s = "apluscompsci"
print( s.find("sc") )
1 point
1
Question 6
6.
s = "apluscompsci"
print( s.rfind("sc") )
1 point
1
Question 7
7.
s = "apluscompsci"
print( s[3] + s[5] )