From 37f772592512678dd99c35e86e6ad7c18b29b071 Mon Sep 17 00:00:00 2001 From: udayakr <37626471+udayakr@users.noreply.github.com> Date: Sat, 2 Feb 2019 10:08:10 +0530 Subject: [PATCH] added comments --- sources/calc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/calc.py b/sources/calc.py index 368c55b..f8da797 100644 --- a/sources/calc.py +++ b/sources/calc.py @@ -7,6 +7,9 @@ in quotes (i.e. as a string). ''' # If 'value' is not an integer, convert it to a float and failing that, a string. + + + def conv(value): try: return int(value)