-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
15 lines (15 loc) · 819 Bytes
/
task.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<b>The last number</b> <a class=right href="https://hyperskill.org/learn/step/7471">Open on JetBrains Academy</a>
<br><br>
<html>
<head></head>
<body>
<p>Given a tuple consisting of numbers, print its last element.</p>
<p><button class="btn-sm btn-outline-secondary" onclick="getElementById('hint-72').style.display='inline'"> Hint </button> </p>
<div id="hint-72" style="display:none;">
When the length of the tuple is unknown, you can use negative indexes or the
<code class="java">len()</code> function.
</div>
<p></p>
</body>
</html><br><b>Sample Input:</b><br>24 22 42<br><br><b>Sample Output:</b><br>42<br><br><br><font color="gray">Memory limit: 256 MB</font><br><font color="gray">Time limit: 15 seconds</font><br><br>
<a href="https://hyperskill.org/learn/step/7462">Show topic summary</a>