I wrote the following code with Python but the terminal tells me "list object is not callable". Who know what's wrong with my code? Thanks!
c={"a": 10,"b":1,"c":22}
tmp=list()
for k,v in c.items():
tmp.append((v,k))
print tmp
tmp.sort(reverse=True)
print tmp