in addition to int and floatpython supports other types of numberssuch as decimal and fraction python also has built-in support for complex numbersand uses the or suffix to indicate the imaginary part ( + jstrings besides numberspython can also manipulate stringswhich can be expressed in several ways they can be enclosed in single quotes ('or double quotes ("with the same result can be used to escape quotes'spam eggssingle quotes 'spam eggs'doesn\'tuse \to escape the single quote "doesn' "doesn'tor use double quotes instead "doesn' '"yes,they said '"yes,they said "\"yes,\they said '"yes,they said '"isn\' ,they said '"isn\' ,they said in the interactive interpreterthe output string is enclosed in quotes and special characters are escaped with backslashes while this might sometimes look different from the input (the enclosing quotes could change)the two strings are equivalent the string is enclosed in double quotes if the string contains single quote and no double quotesotherwise it is enclosed in single quotes the print(function produces more readable outputby omitting the enclosing quotes and by printing escaped and special characters'"isn\' ,they said '"isn\' ,they said print('"isn\' ,they said '"isn' ,they said 'first line \nsecond line \ means newline without print()\ is included in the output 'first line \nsecond line print(swith print()\ produces new line first line second line if you don' want characters prefaced by to be interpreted as special charactersyou can use raw strings by adding an before the first quoteprint(' :\some\name'here \ means newlinec:\some ame print( ' :\some\name'note the before the quote :\some\name string literals can span multiple lines one way is using triple-quotes""""or ''''end of lines are automatically included in the stringbut it' possible to prevent this by adding at the end of the line the following example unlike other languagesspecial characters such as \ have the same meaning with both single ('and double ("quotes the only difference between the two is that within single quotes you don' need to escape (but you have to escape \'and vice versa using python as calculator