You can capitalize words (only uppercases the first letter in the string).

print(text.capitalize())

If you want to capitalize each word, you can title case it.

print(text.title())

You can also remove whitespace.

print(text.strip())

You can chain string methods together to use multiple.

print(text.strip().title())

You can pretty print a list of strings.

text = ['a', 'b', 'c', 'd', 'e']
print(", ".join(text))