Pythonでスクリプトを書いていると、決まった処理を自動で流すだけでなく、「実行中にユーザーに名前を入力させたい」や「コマンドを受け取って処理を変えたい」といった、対話的な(インタラクティブな)機能を持たせたくなることがあります。
プログラミングをしていると、よく見かける言葉があります。 それが syntax(構文)。 > SyntaxError: invalid syntax 何度も見たことがあるけれど、 「構文って、つまり何?」と思ったこと、ありませんか。 🧩 Syntax(構文)とは? > A syntax is a set of rules which must be ...
Python is best thought of as a dynamic but strongly typed language. Types aren’t associated with the names of things, but with the things themselves. This makes Python flexible and convenient for ...