Return second largest unique element. Example: (5,3,5,1,4) => 4 The tuple contains at least two distinct values.
Implement this function:
def second_largest_in_tuple(t: tuple) -> int:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: t.
Input
(5, 3, 5, 1, 4)
Output
4