You calculate the minimum with:
n = int(input("Enter the number: "))
arr = [[input(),float(input())] for _ in range(0,n)]
arr.sort(key=lambda x: (x[1],x[0]))
min_val=min(arr)
print(min_val)
This means that you will perform a loop over the list, and obtain the smallest element. Since you did not provide a key, Python will sort, like it sorts tuples by default: first by first element, and in case of a tie by second element and so on.
In case you want the minimum according to a specific key, you need to use the key parameter of the min function:
n = int(input("Enter the number: "))
arr = [[input(),float(input())] for _ in range(0,n)]
min_val=min(arr, key=lambda x: (x[1],x[0]))
print(min_val)
Note that obtaining the minimum is usually faster than sorting the list. If you do not need to sort the list, you can drop it, and simply use min(..) (like here).
In case you need to sort the list anyway, the smallest element is the first element of the list, so you can obtain it with:
n = int(input("Enter the number: "))
arr = [[input(),float(input())] for _ in range(0,n)]
arr.sort(key=lambda x: (x[1],x[0]))
min_val=arr[0]
print(min_val)
min(..)does not care about the key, it sorts the tuples like tuples are sorted by default.arr[0]