Strings Quiz

By Mickey Arnold
Last updated 10 months ago
7 Questions

s = "apluscompsci"
print( s[4] )

s = "apluscompsci"
print( len(s) )

s = "apluscompsci"
print( s[3:5] )

s = "apluscompsci"
print( s[:-3] )

s = "apluscompsci"
print( s.find("sc") )

s = "apluscompsci"
print( s.rfind("sc") )

s = "apluscompsci"
print( s[3] + s[5] )