in python the raw_input(function is called input()but it works in exactly the same manner strings to create string literalsenclose them in singledoubleor triple quotes as followsa "hello worldb 'python is groovyc """computer says 'no'""the same type of quote used to start string must be used to terminate it triplequoted strings capture all the text that appears prior to the terminating triple quoteas opposed to singleand double-quoted stringswhich must be specified on one logical line triple-quoted strings are useful when the contents of string literal span multiple lines of text such as the followingprint '''content-typetext/html hello world click < href="''strings are stored as sequences of characters indexed by integersstarting at zero to extract single characteruse the indexing operator [ilike thisa "hello worldb [ 'oto extract substringuse the slicing operator [ :jthis extracts all characters from whose index is in the range < if either index is omittedthe beginning or end of the string is assumedrespectivelyc [: [ : [ : "hellod "worlde "lo wostrings are concatenated with the plus (+operatorg this is testpython never implicitly interprets the contents of string as numerical data ( as in other languages such as perl or phpfor examplealways concatenates stringsx " " " (string concatenationto perform mathematical calculationsstrings first have to be converted into numeric value using function such as int(or float(for examplez int(xint(yz (integer +non-string values can be converted into string representation by using the str()repr()or format(function here' an examples "the value of is str(xs "the value of is repr(xs "the value of is format( ," " lib fl ff