Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1699a17

Browse files
authored
Update pow.md
Corrected the description, and content of the pow function, as well as updated with a better code, also fixed the line length issue in pow.md
1 parent215b103 commit1699a17

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎docs/builtin/pow.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ Python pow() built-in function
1212
From the <a target="_blank" href="https://docs.python.org/3/library/functions.html#pow">Python 3 documentation</a>
1313
</base-disclaimer-title>
1414
<base-disclaimer-content>
15-
The pow() function returns the power of a number.
16-
It takes two or three arguments:
17-
pow(base, exp): Returns base raised to the power of exp (base** exp).
18-
pow(base, exp, mod): Returns (base** exp) % mod (for modular arithmetic).
19-
If the optional mod argument is present, the result is computed more
20-
efficiently than base** exp % mod.
15+
The pow() function returns the power of a number.It takes two or three arguments:
16+
pow(base, exp): Returns base raised to the power of exp (base ** exp).
17+
pow(base, exp, mod): Returns (base ** exp) % mod (for modular arithmetic).
18+
If the optional mod argument is present, the result is computed more
19+
efficiently than base ** exp % mod.
2120
</base-disclaimer-content>
2221
</base-disclaimer>
2322

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp