Results of 1 - 10 of about 117 for J (0.009 sec.)
- Time complexity of operations on built-in types — Python 3.14.8 ドキュメント 11187
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Time complexity of operations on built-in types テーマ 自動 ライト ダーク | Time complexity of operations on built-in types ¶ This p
...l[k] ) O (1) Set item ( l[k] = x ) O (1) Delete item ( del l[k] ) [ 2 ] O ( n - k ) イテレーション O ( n ) Get slice ( l[i:j] ) O ( j - i ) Set slice ( l[i:j] = t ) [ 1 ] O ( j - i ) if len( t ) == j - i , otherwise O ( n - i + len( t )) Delete sl...ice ( del l[i:j] ) O ( n - i ) Extend ( l.extend(t) ) [ 1 ] [ 3 ] O (len( t )) Sort ( l.sort() ) [ 4 ] O ( n log n ) Concatenate ( l1 + l2...e. Because a tuple can never change, there are no insertion or deletion costs, and making a copy simply returns the same object, so is constant time ( O (1)). 演算 Complexity Copy ( tuple(t) ) O (1) Get item ( t[k] ) O (1) Get slice ( t[i:j] ) O (... - https://man.mtool.work/python/3.14/builtins/time-complexity.html
- Time complexity of operations on built-in types — Python 3.14.8 ドキュメント 11187
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Time complexity of operations on built-in types テーマ 自動 ライト ダーク | Time complexity of operations on built-in types ¶ This p
...l[k] ) O (1) Set item ( l[k] = x ) O (1) Delete item ( del l[k] ) [ 2 ] O ( n - k ) イテレーション O ( n ) Get slice ( l[i:j] ) O ( j - i ) Set slice ( l[i:j] = t ) [ 1 ] O ( j - i ) if len( t ) == j - i , otherwise O ( n - i + len( t )) Delete sl...ice ( del l[i:j] ) O ( n - i ) Extend ( l.extend(t) ) [ 1 ] [ 3 ] O (len( t )) Sort ( l.sort() ) [ 4 ] O ( n log n ) Concatenate ( l1 + l2...e. Because a tuple can never change, there are no insertion or deletion costs, and making a copy simply returns the same object, so is constant time ( O (1)). 演算 Complexity Copy ( tuple(t) ) O (1) Get item ( t[k] ) O (1) Get slice ( t[i:j] ) O (... - https://man.mtool.work/python/3.14/builtins/time-complexity.html
- 2. 字句解析 — Python 3.14.8 ドキュメント 10012
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
...(or other relevant documentation) 空白 タブ formfeed Whitespace CR, LF New line Indentation backslash ( \ ) Explicit line joining (Also significant in string escape sequences ) hash ( # ) Comment quote ( ' , " ) String literal ASCII letter ( a -...ound statements). A logical line is constructed from one or more physical lines by following the explicit or implicit line joining rules. 2.1.2. 物理行 (physical line) ¶ A physical line is a sequence of characters terminated by one the following e...波括弧 (curly brace) 内の式は、バックスラッシュを使わずに一行以上の物理行に分割することができます。例えば: month_names = [ 'Januari' , 'Februari' , 'Maart' , # These are the 'April' , 'Mei' , 'Juni' , # Dutch names 'Juli' , 'Augustus' , 'September'... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- 2. 字句解析 — Python 3.14.8 ドキュメント 10012
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
...(or other relevant documentation) 空白 タブ formfeed Whitespace CR, LF New line Indentation backslash ( \ ) Explicit line joining (Also significant in string escape sequences ) hash ( # ) Comment quote ( ' , " ) String literal ASCII letter ( a -...ound statements). A logical line is constructed from one or more physical lines by following the explicit or implicit line joining rules. 2.1.2. 物理行 (physical line) ¶ A physical line is a sequence of characters terminated by one the following e...波括弧 (curly brace) 内の式は、バックスラッシュを使わずに一行以上の物理行に分割することができます。例えば: month_names = [ 'Januari' , 'Februari' , 'Maart' , # These are the 'April' , 'Mei' , 'Juni' , # Dutch names 'Juli' , 'Augustus' , 'September'... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 9375
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/di
...d functions for comparing sequences. Most of them compare sequences of text lines (for example lists of strings, or file objects ) and produce diffs -- reports on the differences. Diffs can be produced in various formats, including HTML and contex...a matching algorithm implemented in SequenceMatcher -- a flexible class for comparing pairs of sequences of any type, not just text, so long as the sequence elements are hashable . Junk heuristic ¶ difflib uses a junk heuristic: some items are de...emed to be junk , and ignored when searching for similarities. Ideally, these are uninteresting or common items, such as blank lines or... - https://man.mtool.work/python/3.14/library/difflib.html
- difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 9375
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/di
...d functions for comparing sequences. Most of them compare sequences of text lines (for example lists of strings, or file objects ) and produce diffs -- reports on the differences. Diffs can be produced in various formats, including HTML and contex...a matching algorithm implemented in SequenceMatcher -- a flexible class for comparing pairs of sequences of any type, not just text, so long as the sequence elements are hashable . Junk heuristic ¶ difflib uses a junk heuristic: some items are de...emed to be junk , and ignored when searching for similarities. Ideally, these are uninteresting or common items, such as blank lines or... - https://man.mtool.work/python/3.14/library/difflib.html
- 組み込み型 — Python 3.14.8 ドキュメント 9262
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...オブジェクトでも真理値として判定でき、 if や while の条件あるいは以下のブール演算の被演算子として使えます。 By default, an object is considered true unless its class defines either a __bool__() method that returns False or a __len__() method that re...turns zero, when called with the object. [ 1 ] If one of the methods raises an exception when called, the exception is propagated and the object does not have...a truth value (for example, NotImplemented ). Here are most of the built-in objects considered false: 偽であると定義されている定数: None と False 数値型におけるゼロ: 0 , 0.0 , 0j , Decimal(0) , Fraction... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- cmath --- 複素数用の数学関数 — Python 3.14.8 ドキュメント 8937
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » cmath --- 複素数用の数学関数 テーマ 自動 ライト ダーク | cmath --- 複素数用の数学関数 ¶ このモジュールは、複
...of the real part. For example, the cmath.sqrt() function has a branch cut along the negative real axis. An argument of -2-0j is treated as though it lies below the branch cut, and so gives a result on the negative imaginary axis: >>> cmath . sqrt...( - 2 - 0 j ) -1.4142135623730951j But an argument of -2+0j is treated as though it lies above the branch cut: >>> cmath . sqrt ( - 2...+ 0 j ) 1.4142135623730951j Conversions to and from polar coordinates phase(z) Return the phase of z polar(z) Return the represe... - https://man.mtool.work/python/3.14/library/cmath.html
- cmath --- 複素数用の数学関数 — Python 3.14.8 ドキュメント 8937
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » cmath --- 複素数用の数学関数 テーマ 自動 ライト ダーク | cmath --- 複素数用の数学関数 ¶ このモジュールは、複
...of the real part. For example, the cmath.sqrt() function has a branch cut along the negative real axis. An argument of -2-0j is treated as though it lies below the branch cut, and so gives a result on the negative imaginary axis: >>> cmath . sqrt...( - 2 - 0 j ) -1.4142135623730951j But an argument of -2+0j is treated as though it lies above the branch cut: >>> cmath . sqrt ( - 2...+ 0 j ) 1.4142135623730951j Conversions to and from polar coordinates phase(z) Return the phase of z polar(z) Return the represe... - https://man.mtool.work/python/3.14/library/cmath.html
- 組み込み型 — Python 3.14.8 ドキュメント 8412
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...オブジェクトでも真理値として判定でき、 if や while の条件あるいは以下のブール演算の被演算子として使えます。 By default, an object is considered true unless its class defines either a __bool__() method that returns False or a __len__() method that re...turns zero, when called with the object. [ 1 ] If one of the methods raises an exception when called, the exception is propagated and the object does not have...a truth value (for example, NotImplemented ). Here are most of the built-in objects considered false: 偽であると定義されている定数: None と False 数値型におけるゼロ: 0 , 0.0 , 0j , Decimal(0) , Fraction... - https://man.mtool.work/python/3.14/builtins/stdtypes.html