Strings
12 / 18
EasyOutput prediction

in checks for substring, not a character set

What does this code print?

s = "racecar"
print("ace" in s)
print("ca" in s)

← → arrow keys to navigate

Sign in to save your progress.