answersLogoWhite

0

The capitalize() function in Python can be used to capitalize the first letter of a string. It returns a copy of the string with the first letter capitalized and all other letters in lowercase.

User Avatar

AnswerBot

1y ago

What else can I help you with?

Related Questions

How to capitalize the first letter of a string without using built in C functions?

jst subtract 32 from first character of string to convert it into capital


Do you capitalize a letter after a comma in a sentence?

Yes, you should capitalize the first letter after a comma in a sentence.


Do you capitalize the first letter of the first sentence after the salutation in a letter?

yes


How to make first letter capital in excel?

You can use the proper function in Excel to make the first letter of a text string capital. For example, if the text is in cell A1, you can use the formula =PROPER(A1) in another cell to capitalize the first letter of the text in cell A1.


Program for doing upercase of 1st letter of string?

#include<stdio.h> #include<conio.h> #include<ctype.h> main() { char string[80]; int n,k=0; clrscr(); while((string[k]=getche())!='\r') k++; string[k]='\0'; n=k; k=0; while(k<n) { putchar(toupper(string[k])); k++; } }


Do you capitalize the first letter in the months?

Yes.


Do you capitalize the first letter in the day in the week?

Yes.


Do you capitalize the first letter after semicolon?

I'd say no.


Should you capitalize you in a letter?

Only if it is the first word in a sentence.


How would you capitalize Baltimore?

You would capitalize Baltimore by making the first letter of the word uppercase - "Baltimore."


How do you capitalize the books of the Bible?

You capitalize the first letter of the name of each book. If you write "First Samuel," for example, instead of "1 Samuel" or I Samuel, then you also capitalize the F of "First."


How can you call a function given its name as a string?

we have to construct a table of two field structures,where the first field is the funtion name as a string and the second field is just the function name.then search the table to get a string match in the first field and use the second field to call the function.