Open this example in the interactive library
Source code
print('a practical python guide'.title())Sample output
A Practical Python Guide

Format a readable title. A self-contained example using the Python standard library.
Open this example in the interactive library
print('a practical python guide'.title())A Practical Python Guide