summaryrefslogtreecommitdiff
path: root/basic-data-type/quickref.tex
diff options
context:
space:
mode:
authorPuneeth Chaganti2010-12-01 16:51:35 +0530
committerPuneeth Chaganti2010-12-01 16:51:35 +0530
commitf3a34dfb4e879f3eb7274704f44546aac4add88f (patch)
tree1cb0a8cc5dbd5ee2b374350915ed2addfa0fb447 /basic-data-type/quickref.tex
parent347866ed0d29db61ee062563b1e1616cfb85588c (diff)
downloadst-scripts-f3a34dfb4e879f3eb7274704f44546aac4add88f.tar.gz
st-scripts-f3a34dfb4e879f3eb7274704f44546aac4add88f.tar.bz2
st-scripts-f3a34dfb4e879f3eb7274704f44546aac4add88f.zip
Renamed all LOs to match with their names in progress.org.
Diffstat (limited to 'basic-data-type/quickref.tex')
-rw-r--r--basic-data-type/quickref.tex49
1 files changed, 0 insertions, 49 deletions
diff --git a/basic-data-type/quickref.tex b/basic-data-type/quickref.tex
deleted file mode 100644
index 1047219..0000000
--- a/basic-data-type/quickref.tex
+++ /dev/null
@@ -1,49 +0,0 @@
-\documentclass{article}
-\begin{Document}
-\begin{center}
-\textbf{Basic DataType Quick Reference}\\
-\end{center}
-Declaring an Integer:\\
-{\ex \lstinline| b=9999999999999999999 |}
-
-Declaring a float:\\
-{\ex \lstinline| p=3.141592 |}
-
-Declaring a Complex number:\\
-{\ex \lstinline| c = 3.2+4.6j |}
-
-Modulo Operator:\\
-{\ex \lstinline| 87 % 6 |}
-
-Exponent Operator:\\
-{\ex \lstinline| 7**8 |}
-
-Declaring a list:\\
-{\ex \lstinline| var_list = [1, 1.2, [1,2]] |}
-
-Declaring a string:\\
-{\ex \lstinline| k='Single quote' |}
-{\ex \lstinline| l="Double quote contain's single quote" |}
-{\ex \lstinline| m='''"Contain's both"''' |}
-
-Declaring a tuple:\\
-{\ex \lstinline| var_tup = (1,2,3,4) |}
-
-
-Accessing Lists, string and tuples:\\
-{\ex \lstinline| seq[-1] |}
-
-Interconversion of number datatype:\\
-{\ex \lstinline| float(2.3+4.2j) |}
-
-
-Interconversion of sequences:\\
-{\ex \lstinline| tup=tuple([1,2,3,4,5]) |}
-
-Spliting string into lists:\\
-{\ex \lstinline| ''split this sting''.split() |}
-
-Join lists to create strings:\\
-{\ex \lstinline| ','.join['List','joined','on','commas'] |}
-
-\end{Document}