diff options
author | Nishanth Amuluru | 2010-09-15 21:02:31 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2010-09-15 21:02:31 +0530 |
commit | 59f9941ef241a385eb47e29473de21ef1823c286 (patch) | |
tree | a72033f1b51475b666166db764a6bc566aada04e /parsing_data.rst | |
parent | 82836fd6044c9a8474d5d84f12b9e516cf38c6fd (diff) | |
download | st-scripts-59f9941ef241a385eb47e29473de21ef1823c286.tar.gz st-scripts-59f9941ef241a385eb47e29473de21ef1823c286.tar.bz2 st-scripts-59f9941ef241a385eb47e29473de21ef1823c286.zip |
added type into the script
Diffstat (limited to 'parsing_data.rst')
-rw-r--r-- | parsing_data.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parsing_data.rst b/parsing_data.rst index df2d324..e8d9dcd 100644 --- a/parsing_data.rst +++ b/parsing_data.rst @@ -118,8 +118,8 @@ first. Type 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. |