--- a/input_output/quickref.tex Tue Oct 12 10:32:34 2010 +0530
+++ b/input_output/quickref.tex Tue Oct 12 10:36:46 2010 +0530
@@ -1,11 +1,15 @@
-Creating a tuple:\\
-{\ex \lstinline| t = (1, "hello", 2.5)|}
+Printing a variable:\\
+{\ex \lstinline| print x|}
-Accessing elements of tuples:\\
-{\ex \lstinline| t[index] Ex: t[2]|}
+Printing with out a new line:\\
+{\ex \lstinline| print x, |}
-Accessing slices of tuples:\\
-{\ex \lstinline| t[start:stop:step]|}
+Using modifiers while printing:\\
+{\ex \lstinline| print "a is \%d b is \%f"\%(a, b)|}
-Swapping values:\\
-{\ex \lstinline| a, b = b, a|}
+Taking input from user:\\
+{\ex \lstinline| x = raw_input()|}
+
+Display a prompt while taking input:\\
+{\ex \lstinline| x = raw_input("Type a number: ")|}
+