Consider usning name.title() or name.capitalize() to convert the fisrt letter into uppercase.