floating-point numbers complex numbers the identifiers true and false are interpreted as boolean values with the integer values of and respectively number such as is interpreted as decimal integer to specify an integer using octalhexadecimalor binary notationprecede the value with xor brespectively (for example fea or integers in python can have an arbitrary number of digitsso if you want to specify really large integerjust write out all of the digitsas in howeverwhen inspecting values and looking at old python codeyou might see large numbers written with trailing (lowercase lor characteras in this trailing is related to the fact that python internally represents integers as either fixed-precision machine integer or an arbitrary precision long integer type depending on the magnitude of the value in older versions of pythonyou could explicitly choose to use either type and would add the trailing to explicitly indicate the long type todaythis distinction is unnecessary and is actively discouraged soif you want large integer valuejust write it without the numbers such as and + are interpreted as floating-point numbers an integer or floating-point number with trailing or jsuch as jis an imaginary number you can create complex numbers with real and imaginary parts by adding real number and an imaginary numberas in string literals string literals are used to specify sequence of characters and are defined by enclosing text in single (')double (")or triple (''or """quotes there is no semantic difference between quoting styles other than the requirement that you use the same type of quote to start and terminate string singleand double-quoted strings must be defined on single linewhereas triple-quoted strings can span multiple lines and include all of the enclosed formatting (that isnewlinestabsspacesand so onadjacent strings (separated by white spacenewlineor line-continuation charactersuch as "hello'worldare concatenated to form single string "helloworldwithin string literalsthe backslash (\character is used to escape special characters such as newlinesthe backslash itselfquotesand nonprinting characters table shows the accepted escape codes unrecognized escape sequences are left in the string unmodified and include the leading backslash table standard character escape codes character description newline continuation backslash single quote double quote bell backspace escape null \\\\ \ \ \ lib fl ff