Python - 18

Python - 18: Working With Strings

Strings have built-in tools called methods that help you change and organize text.

✦ Python Editor
▶ Output

👀 Show Example Solution
title = "softwarestack"

print(title.upper())

print(title.replace("stack", "world"))

print(len(title))

if "soft" in title:
    print("Found it!")