Pythonの基本構文のひとつ「if 〜 else」を使って、条件によって処理を変えるコードの学習。 思っていたよりもシンプルで書きながら少しずつ 「わかるかも…!」という手応えがありました。 🪜 ステップ①:年齢で「大人」「未成年」を判断してみる age = 20 ...
But what if we want to execute different code depending on something? That's when if comes in. An important thing to notice is that the line with a print is indented ...
This is a concise Python 3 programming tutorial for people who think that reading is boring. I try to show everything with simple code examples; there are no long and complicated explanations with ...