Strings
8 / 18
EasyOutput prediction

Triple-quoted string newlines

What does this code print?

s = """line1
line2"""
print(len(s))

← → arrow keys to navigate

Sign in to save your progress.

Triple-quoted string newlines - Python Strings Quiz | Unnested