NCERT Solutions Class 11 Computer Science – Strings

Python is a famous programming language and strings are very popular types in it. In python string literals are surrounded by single quotes or double quote. Example, “hello” or’hello’. The capitalize () method in python returns a copy of a string with only its first letter capitalized. Its syntax is as follows: str.capitalize(). The two parameters of center() method are fillchar and width. Fillchar is the filler character whereas width is the total width of the string. In python programming language, strings are arrays of bytes which represent Unicode characters


To check out more about strings in python you can refer to the solutions provided by our experts. These are free and are available in downloadable format.

Download NCERT Solutions for Class 11 Computer Science Strings

Leave Your Answer