This function will provide an output with the first letter as a capital letter and the rest of the letters in lowercase format. In case the variable starts with a number or any other symbol, it won't capitalize anything. It changes only the first letter and the other letters will be made small even if they are capitalized initially.  Example: a = 'pythonpool'  b = a.capitalize()         print('ans is ', b)  So output will be:  ans is Pythonpool