basic_datatypes_and_operators/quickref.tex
changeset 523 54bdda4aefa5
parent 522 d33698326409
equal deleted inserted replaced
522:d33698326409 523:54bdda4aefa5
     1 \documentclass{article}
       
     2 \begin{Document}
       
     3 \begin{center}
       
     4 \textbf{Basic DataType Quick Reference}\\
     1 \textbf{Basic DataType Quick Reference}\\
     5 \end{center}
     2 
     6 Declaring an Integer:\\
     3 Declaring an Integer:\\
     7 {\ex \lstinline|  b=9999999999999999999 |}
     4 {\ex \lstinline|  b=9999999999999999999 |}
     8 
     5 
     9 Declaring a float:\\
     6 Declaring a float:\\
    10 {\ex \lstinline|  p=3.141592 |}
     7 {\ex \lstinline|  p=3.141592 |}
    44 {\ex \lstinline| ''split this sting''.split() |}
    41 {\ex \lstinline| ''split this sting''.split() |}
    45 
    42 
    46 Join lists to create strings:\\
    43 Join lists to create strings:\\
    47 {\ex \lstinline| ','.join['List','joined','on','commas'] |}
    44 {\ex \lstinline| ','.join['List','joined','on','commas'] |}
    48 
    45 
    49 \end{Document}