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)