-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
10 lines (10 loc) · 839 Bytes
/
task.html
1
2
3
4
5
6
7
8
9
10
<b>From 0 to 1</b> <a class=right href="https://hyperskill.org/learn/step/7029">Open on JetBrains Academy</a>
<br><br>
<html>
<head></head>
<body>
<p>The function used to set a starting point of the random search algorithm is called <strong><em>random.seed()</em></strong> and takes a single integer number. Write a program that takes an integer number <strong><em>n</em></strong>, sets <em><strong>n</strong></em> as a seed and then prints a pseudo-random number from 0 to 1.</p>
<p>The variable <strong><em>n</em></strong> is already defined.</p>
</body>
</html><br><b>Sample Input:</b><br>-65<br><b>Sample Output:</b><br>0.414743999308679<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/6263">Show topic summary</a>