Strings
11 / 18
EasyOutput prediction

strip() with a custom character set

What does this code print?

s = "***hello***"
print(s.strip("*"))

← → arrow keys to navigate

Sign in to save your progress.

strip() with a custom character set - Python Strings Quiz | Unnested