What goes in the blank?
# capitalise the first letter of each word heading = text.____()
Answer: title
str.title() uppercases the first letter of every word; capitalize() only touches the first character.
Play Problem Solving ▸
# capitalise the first letter of each word heading = text.____()
Answer: title