-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
10 lines (10 loc) · 897 Bytes
/
task.html
1
2
3
4
5
6
7
8
9
10
<b>E ** x minus one</b> <a class=right href="https://hyperskill.org/learn/step/7176">Open on JetBrains Academy</a>
<br><br>
<html>
<head></head>
<body>
<p>Write a program that takes an integer number <em><strong>x</strong></em> and prints <em><strong>e</strong></em> (a mathematical constant) raised to power <strong><em>x</em></strong>, minus one. Use the function <a target="_blank" href="https://docs.python.org/3.8/library/math.html#math.expm1" rel="noopener noreferrer nofollow">expm1</a> defined in the <strong><em>math</em></strong> module.</p>
<p>The variable <strong><em>x</em></strong> is already defined.</p>
</body>
</html><br><b>Sample Input:</b><br>-57<br><b>Sample Output:</b><br>-1.0<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/6019">Show topic summary</a>