Skip to content

The basics · Strings

Strings

Text is a sequence of characters you can index, slice and loop over. · 8 minutes

Predict first

What does this print?

1word = "hello"
2word.upper()
3print(word)