From 05f21578b23557f1c8dce31ddd13d4bffea3033c Mon Sep 17 00:00:00 2001 From: Kenryu Shibata Date: Wed, 12 Jul 2023 22:28:05 -0400 Subject: Update python-jp.html.markdown --- ja-jp/python-jp.html.markdown | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'ja-jp') diff --git a/ja-jp/python-jp.html.markdown b/ja-jp/python-jp.html.markdown index 18e7d1b8..363d00a0 100644 --- a/ja-jp/python-jp.html.markdown +++ b/ja-jp/python-jp.html.markdown @@ -11,6 +11,7 @@ contributors: translators: - ["kakakaya", "https://github.com/kakakaya"] - ["Ryota Kayanuma", "https://github.com/PicoSushi"] + - ["Kenryu Shibata", "https://github.com/kenryuS"] filename: learnpython-jp.py lang: ja-jp --- @@ -180,7 +181,7 @@ bool({}) # => False bool(()) # => False #################################################### -# 2. Variables and Collections +# 2. 変数と集合 #################################################### # Python にはprint関数があります。 @@ -400,7 +401,7 @@ filled_set | other_set # => {1, 2, 3, 4, 5, 6} #################################################### -# 3. 制御の流れとiterable +# 3. 制御の流れと反復可能オブジェクト #################################################### # まずは変数を作りましょう。 @@ -429,7 +430,7 @@ for animal in ["dog", "cat", "mouse"]: print("{} is a mammal".format(animal)) """ -"range(数値)" は、ゼロから与えられた数値までのiterableを返します。 +"range(数値)" は、ゼロから与えられた数値までのiterable(反復可能オブジェクト)を返します。 出力: 0 1 @@ -649,7 +650,7 @@ print(ceil(3.7)) # => 4.0 print(floor(3.7)) # => 3.0 # 全部の関数をモジュールからインポートすることができます。 -# Warning: この方法は推奨されません。 +# 注意: この方法は推奨されません。 from math import * # 短い名前でモジュールをインポートすることができます。 @@ -990,9 +991,9 @@ print(say()) # Can you buy me a beer? print(say(say_please=True)) # Can you buy me a beer? Please! I am poor :( ``` -## Ready For More? +## さらなる学習の準備ができましたか? -### Free Online +### 無料のオンラインコンテンツ * [Automate the Boring Stuff with Python](https://automatetheboringstuff.com) * [Ideas for Python Projects](http://pythonpracticeprojects.com) -- cgit v1.2.3