Commit 2d162947 authored by ARUNAVO KUMAR MONDAL's avatar ARUNAVO KUMAR MONDAL

done task 2

parent 3fb6552d
def function2(listVariable,n):
a=map(lambda x: (x[n],x), listVariable)
print zip(*listVariable)[n]
a.sort()
a=map(lambda x: x[1], a)
return a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment