per page, with , order by , clip by
Results of 1 - 10 of about 63 for choose (0.006 sec.)
math --- 数学関数 — Python 3.14.8 ドキュメント 12805
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » math --- 数学関数 テーマ 自動 ライト ダーク | math --- 数学関数 ¶ This module provides access to common math ... います。明示的な注記のない限り、戻り値は全て浮動小数点数になります。 Number-theoretic functions comb(n, k) Number of ways to choose k items from n items without repetition and without order factorial(n) n の階乗 gcd(*integers) 整数引数の最大公約数 isqrt( ... root of a nonnegative integer n lcm(*integers) Least common multiple of the integer arguments perm(n, k) Number of ways to choose k items from n items without repetition and with order Floating point arithmetic ceil(x) Ceiling of x , the smallest integ ... 正の無限大 nan 非数 "Not a number" (NaN) Number-theoretic functions ¶ math. comb ( n , k ) ¶ Return the number of ways to choose k items from n items without repetition and without order. Evaluates to n! / (k! * (n - k)!) when k <= n and evaluates to ...
https://man.mtool.work/python/3.14/library/math.html
math --- 数学関数 — Python 3.14.8 ドキュメント 11263
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » math --- 数学関数 テーマ 自動 ライト ダーク | math --- 数学関数 ¶ This module provides access to common math ... います。明示的な注記のない限り、戻り値は全て浮動小数点数になります。 Number-theoretic functions comb(n, k) Number of ways to choose k items from n items without repetition and without order factorial(n) n の階乗 gcd(*integers) 整数引数の最大公約数 isqrt( ... root of a nonnegative integer n lcm(*integers) Least common multiple of the integer arguments perm(n, k) Number of ways to choose k items from n items without repetition and with order Floating point arithmetic ceil(x) Ceiling of x , the smallest integ ... 正の無限大 nan 非数 "Not a number" (NaN) Number-theoretic functions ¶ math. comb ( n , k ) ¶ Return the number of ways to choose k items from n items without repetition and without order. Evaluates to n! / (k! * (n - k)!) when k <= n and evaluates to ...
https://man.mtool.work/python/3.14/library/math.html
random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 10759
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/ ... range ( n ), r )) return tuple ( pool [ i ] for i in indices ) def random_combination_with_replacement ( iterable , r ): "Choose r elements with replacement. Order the result to match the iterable." # Result will be in set(itertools.combinations_with_ ... andom . choices ( range ( n ), k = r )) return tuple ( pool [ i ] for i in indices ) def random_derangement ( iterable ): "Choose a permutation where no element stays in its original position." seq = tuple ( iterable ) if len ( seq ) < 2 : if not seq : ... return () raise IndexError ( 'No derangments to choose from' ) perm = list ( range ( len ( seq ))) start = tuple ( perm ) while True : random . shuffle ( perm ) if all ( p != q ...
https://man.mtool.work/python/3.14/library/random.html
random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 10759
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/ ... range ( n ), r )) return tuple ( pool [ i ] for i in indices ) def random_combination_with_replacement ( iterable , r ): "Choose r elements with replacement. Order the result to match the iterable." # Result will be in set(itertools.combinations_with_ ... andom . choices ( range ( n ), k = r )) return tuple ( pool [ i ] for i in indices ) def random_derangement ( iterable ): "Choose a permutation where no element stays in its original position." seq = tuple ( iterable ) if len ( seq ) < 2 : if not seq : ... return () raise IndexError ( 'No derangments to choose from' ) perm = list ( range ( len ( seq ))) start = tuple ( perm ) while True : random . shuffle ( perm ) if all ( p != q ...
https://man.mtool.work/python/3.14/library/random.html
Migrating optparse code to argparse — Python 3.14.8 ドキュメント 9218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Migrating optp ... ural differences described in that section before deciding whether or not migration is desirable. For applications that do choose to migrate from optparse to argparse , the following suggestions should be helpful: すべての optparse.OptionParser.add_opt ...
https://man.mtool.work/python/3.14/howto/argparse-optparse.html
5. macOS で Python を使う — Python 3.14.8 ドキュメント 9218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python のセットアップと利用 » 5. macOS で Python を使う テーマ 自動 ライト ダーク | 5. macOS で Python を使う ¶ This document aims to give an overview of macOS-s ... play. For most uses, the standard set of installation operations is appropriate. By pressing the Customize button, you can choose to omit or select certain package components of the installer. Click on each package name to see a description of what it ... tempt to delete this installation, as it is Apple-controlled and is used by Apple-provided or third-party software. If you choose to install a newer Python version from python.org , you will have two different but functional Python installations on you ...
https://man.mtool.work/python/3.14/using/mac.html
What's New in Python 2.3 — Python 3.14.8 ドキュメント 9218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.3 テーマ 自動 ライト ダーク | What's New in Python 2.3 ¶ 著者 : A.M. Kuchling この文書は Python 2.3 の新機能について ... dded to the random module. population is a sequence or xrange object containing the elements of a population, and sample() chooses k elements from the population without replacing chosen elements. k can be any value up to len(population) . For example: ... >>> days = [ 'Mo' , 'Tu' , 'We' , 'Th' , 'Fr' , 'St' , 'Sn' ] >>> random . sample ( days , 3 ) # Choose 3 elements ['St', 'Sn', 'Th'] >>> random . sample ( days , 7 ) # Choose 7 elements ['Tu', 'Th', 'Mo', 'We', 'St', 'Fr', 'S ... n'] >>> random . sample ( days , 7 ) # Choose 7 again ['We', 'Mo', 'Sn', 'Fr', 'Tu', 'St', 'Th'] >>> random . sample ( days , 8 ) # Can't choose eight Traceback (most r ...
https://man.mtool.work/python/3.14/whatsnew/2.3.html
Migrating optparse code to argparse — Python 3.14.8 ドキュメント 9218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Migrating optp ... ural differences described in that section before deciding whether or not migration is desirable. For applications that do choose to migrate from optparse to argparse , the following suggestions should be helpful: すべての optparse.OptionParser.add_opt ...
https://man.mtool.work/python/3.14/howto/argparse-optparse.html
5. macOS で Python を使う — Python 3.14.8 ドキュメント 9218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python のセットアップと利用 » 5. macOS で Python を使う テーマ 自動 ライト ダーク | 5. macOS で Python を使う ¶ This document aims to give an overview of macOS-s ... play. For most uses, the standard set of installation operations is appropriate. By pressing the Customize button, you can choose to omit or select certain package components of the installer. Click on each package name to see a description of what it ... tempt to delete this installation, as it is Apple-controlled and is used by Apple-provided or third-party software. If you choose to install a newer Python version from python.org , you will have two different but functional Python installations on you ...
https://man.mtool.work/python/3.14/using/mac.html
What's New in Python 2.3 — Python 3.14.8 ドキュメント 9218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.3 テーマ 自動 ライト ダーク | What's New in Python 2.3 ¶ 著者 : A.M. Kuchling この文書は Python 2.3 の新機能について ... dded to the random module. population is a sequence or xrange object containing the elements of a population, and sample() chooses k elements from the population without replacing chosen elements. k can be any value up to len(population) . For example: ... >>> days = [ 'Mo' , 'Tu' , 'We' , 'Th' , 'Fr' , 'St' , 'Sn' ] >>> random . sample ( days , 3 ) # Choose 3 elements ['St', 'Sn', 'Th'] >>> random . sample ( days , 7 ) # Choose 7 elements ['Tu', 'Th', 'Mo', 'We', 'St', 'Fr', 'S ... n'] >>> random . sample ( days , 7 ) # Choose 7 again ['We', 'Mo', 'Sn', 'Fr', 'Tu', 'St', 'Th'] >>> random . sample ( days , 8 ) # Can't choose eight Traceback (most r ...
https://man.mtool.work/python/3.14/whatsnew/2.3.html
PREV 1 2 3 4 5 6 7 NEXT