-
投稿日 2023-10-06 16:37
LAN-PRO
by
KUMA
Pythonにおいて、ローカル変数とグローバル変数は、変数が使用可能なスコープ(範囲)に関連する概念です。変数がどのスコープで定義され、どの範囲でアクセスできるかを理解することは、プログラミングにおいて非常に重要です。ローカル変数(Local Variables):ローカル変数は、関数内で定義された変数で、その関数内でのみアクセス可能です。関数内で宣言された変数は、その関数のスコープ内でのみ有効です。ローカル変数は、関数が呼び出されるときに作成され、関数の実行が終了すると破棄されます。これにより、関数内で一時的なデータを保持できます。グローバル変数(Global Variables):グローバ...
-
投稿日 2023-10-06 06:20
LAN-PRO
by
KUMA
Today's sunrise has some clouds, but it's quite clear. Unlike in the summer when the GoPro overheats, today it's actually cold, with a low temperature. It seems there was the first snowfall on the high mountains, so hiking this weekend requires caution.今日の日の出、少し雲がありますが、よく晴れています。夏ならGoProが発熱するのですが、今日は...
-
投稿日 2023-10-05 06:25
LAN-PRO
by
KUMA
Today, due to inclement weather, it is not possible to see the sunrise, but I was able to observe the sea of clouds that forms around this time of yea...
-
投稿日 2023-10-04 05:54
LAN-PRO
by
KUMA
VBA(Visual Basic for Applications)の習熟者がPythonを学ぶ場合、以下のステップをフォローすることで効率的に学習を進めることができます。1:基本的なPythonの文法を学ぶ:Pythonの基本構文、データ型、変数、制御構造(if文、forループなど)を理解しましょう。VBAの経験がある場合、Pythonの文法は比較的簡単に学べるでしょう。2:Pythonのデータ構造を学ぶ:リスト、タプル、セット、辞書などのPythonのデータ構造を理解し、使い方を習得しましょう。これらのデータ構造は、データの処理や操作に非常に役立ちます。3:ライブラリとモジュールを探索:P...
-
投稿日 2023-10-03 06:30
LAN-PRO
by
KUMA
"The outside temperature suddenly dropped, reaching its lowest point since this summer. However, it is still hot during the daytime, and the indoor temperature has not dropped significantly. When I took a photo this morning on the balcony, I felt the soles of my bare feet were cold."外気温が急に下がり、この夏以降で...
-
投稿日 2023-10-02 13:02
LAN-PRO
by
KUMA
2024年のカレンダーが出来上がってきました。海外送付があるので、この時期から準備を始めます。これは小サイズですが、例年のように大、それに年表も用意したおります。 わかお かずまさ VegaSystems 📷📷📷📷📷📷#LAN_PRO#Bloguru#VegaSystems#photograph
-
投稿日 2023-10-02 07:04
LAN-PRO
by
KUMA
Win11の先回のアップデートでCopilotが実装されています。わかお かずまさVegaSystems 📷📷📷📷📷📷#LAN_PRO#Bloguru#VegaSystems#photograph
-
投稿日 2023-10-02 06:36
LAN-PRO
by
KUMA
The equinox has passed, and the temperature has started to drop from late night to early morning. However, it's just a subjective feeling of cooling d...
-
投稿日 2023-10-01 19:38
LAN-PRO
by
KUMA
Pythonでの金種計算です。1-15はdef(DEFINE)で、金種の変数に収納し、入力された金額を金種計算し、(9-13)その値を辞書型変数(6)に代入します18-28は例外処理で、ここで最初に計算する金額を入力します。入力は「int」型で受け取りますが、負の値や整数以外はIF文を終了し、27を実行して終了します。23でdefで定義した関数(1)に飛び、終了後、24からの表示を行います。Pythonでは、文法より、この変数の種類、それにClassとメソッド・インスタンスの概念を理解しないとSourceの解読が出来ず、短いSourceでも手こずる事になる。 わかお かずまさ VegaSyst...
-
投稿日 2023-09-30 05:35
LAN-PRO
by
KUMA
"Tonight, it's a full moon. Japanese people have a special connection with the moon, especially during the eighth month of the old lunar calendar. They admire the moon, offer various offerings, and host moon-viewing gatherings in different regions, expressing their affection for the moon. This senti...