Given a tuple consisting of numbers, print its last element.
Tip: When the length of the tuple is unknown, you can use negative indexes or the len() function.
Given a tuple consisting of numbers, print its last element.
Tip: When the length of the tuple is unknown, you can use negative indexes or the len() function.
Sample Input 1:
24 22 42Sample Output 1:
42Create a free account to access the full topic