I'm trying to do a comparison of multiple numbers and print out the result in a string type. Here's a simplified ver.
a = input()
b = input()
c = input()
Com = [a, b, c]
print (min(Com) + " is the smallest, the value is %s" %min(Com))
For example, when I input 1,2,3 to a,b,c the output will be
"1 is the smallest, the value is 1"
but what I really want is
"a is the smallest, the value is 1"
is there any func. I can use to find out the original name of 1, which is a?