みなさん、こんにちは。最近朝型の生活に戻りつつあります、Triaezuです。 今回はpythonの勉強を始めて3週間後に出会うような関数2つを紹介します。私は機械学習に興味を持ってpythonを始めたのですが、最初は入門本を買わずにPyQというサービスにライト ...
The Python programming language offers a wide range of built-in functions that simplify code and make it easier to manipulate data. One such function is the enumerate() function, which allows you to ...
お疲れ様です。前回、enumerate( )の使い方の途中で終わったから、その続きから。 で、昨日はtapleが出てきたので、まずtapleについて、復習。ChatGPT先生に解説してもらったよ〜 タプル(tuple) は、Python初心者が必ず一度はつまずくポイントなので、 ここでは ...
What comes to your mind when you hear the word `zip`? A mechanism extensively used to tie two parts of something, e.g. shirt or jacket. Python's `zip()` functions does pretty much the same, it helps ...
In the following example, we loop through a list of numbers, and use the variable digit to hold each number in turn: Strings in Python are considered “sequences” — they can be iterated over, and the ...