added type into the script
authornishanth
Wed, 15 Sep 2010 21:02:31 +0530
changeset 140 bc023595e167
parent 139 9e67c055a413
child 141 05a7b0506134
added type into the script
parsing_data.rst
--- a/parsing_data.rst	Wed Sep 15 19:12:31 2010 +0530
+++ b/parsing_data.rst	Wed Sep 15 21:02:31 2010 +0530
@@ -118,8 +118,8 @@
 
     mark_str = "1.25"
     mark = int(mark_str)
-    mark_str
-    mark
+    type(mark_str)
+    type(mark)
 
 We can see that string is converted to float. We can perform mathematical
 operations on them now.