added comments

This commit is contained in:
udayakr 2019-02-02 10:08:10 +05:30 committed by GitHub
parent 128e9ba59f
commit 37f7725925
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. # If 'value' is not an integer, convert it to a float and failing that, a string.
def conv(value): def conv(value):
try: try:
return int(value) return int(value)