equal
deleted
inserted
replaced
116 first. Type |
116 first. Type |
117 :: |
117 :: |
118 |
118 |
119 mark_str = "1.25" |
119 mark_str = "1.25" |
120 mark = int(mark_str) |
120 mark = int(mark_str) |
121 mark_str |
121 type(mark_str) |
122 mark |
122 type(mark) |
123 |
123 |
124 We can see that string is converted to float. We can perform mathematical |
124 We can see that string is converted to float. We can perform mathematical |
125 operations on them now. |
125 operations on them now. |
126 |
126 |
127 {{{ Pause here and try out the following exercises }}} |
127 {{{ Pause here and try out the following exercises }}} |