AMI Interview Question

The which method in python is used for capitalising only the first character of the string.