Python Language / Python StringsIt is collection of unicode characters (arrays of bytes) and surrounded by either single / double quotation marks and printed on screen using print function. Python Strings elements are accessed elements using string Square brackets.Example 1. 'Python World’ is the same as”Python World ". print("Python World"). 2.Let us take a string p = "Python World" String Functions and their properties with examples
|