Posts

python string

PYTHON STRING: A   String is  a  sequence  of  characters. A  characters  simply a symbol. For example ,the English language has 26 characters. ...In python ,a string is a sequence of Unicode characters. Unicode was introduced to include every character in all language and bring uniformity in encoding. Built-in string Function in Python  lower()- Converts all the characters of string to lowercase          ex: var='HI PYTHON'          print(var.lower())         #hi python  upper()- Converts all the characters of the string to uppercase          ex:var='hello python'         print(var.upper())         #HELLO PYTHON title()- Return the 'titlecased' version of string ,which means that all words strat with uppercase and the rest of the characters in words are in lowercase. ex:a='welcome python' print(a.title()...