The basics · Strings
String methods
split, join, strip, replace — and letters as numbers. · 9 minutes
Predict first
What does this print?
1words = ["a", "b", "c"]2print("-".join(words))
The basics · Strings
split, join, strip, replace — and letters as numbers. · 9 minutes
Predict first
What does this print?
1words = ["a", "b", "c"]2print("-".join(words))