Syntax, examples (2)
The function string.capitalize
returns a copy of its input argument (a string), with the first
character capitalized:
import string
aName="piet"
aNameCapitals=string.capitalize(aName)
print aNameCapitals
When executing the program, it will print
$ python name.py
Piet