# HG changeset patch # User nishanth # Date 1284564751 -19800 # Node ID bc023595e167fa00541a45d13df81f6b22e608b0 # Parent 9e67c055a4131b7b5c58a259ce9ef456e9e11954 added type into the script diff -r 9e67c055a413 -r bc023595e167 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.