1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

JupyterNotebookでPythonを学んでみた

Posted at

題材

前回と同じAsabenehさんがGithubに上げている「30-Days-Of-Python」

image.png

image.png

構成が最初に簡潔な説明があり、そのあと、Exerciseがあるというシンプルで分かりやすいので、自分のような初めてPythonを学習する人にはお勧めだと思う。英語だが、そこまで難しい英語は使われていない(と思う)ので、英語学習にも使える。

Githubで公開されているので、無料で見ることができる。

リンク
https://github.com/Asabeneh/30-Days-Of-Python/tree/master

なぜJupyterNotebookなのか

理由はカーネルごとにコードを実行できるため、Python学習(Excesizes)に向いていると思ったから。

image.png

上のキャプチャのように、上のカーネルで入力値を保持するコード、下のカーネルで出力するコードを書いたりできる。

前の記事でVSCodeとCopilotを使ったが、Copilotが優秀すぎて(Exerciseの回答まで予測してくれる!)Pythonの勉強には向かないと思ったから。また、1つのファイルにいくつもExerciseを書くと、すべて実行されてしまい、Exerciseごとの実行が面倒だから。

<前回の記事>

image.png

感想

やはり、Exerciseをするのは、JupyterNotebookのほうがやり易いなあと思った。
VScodeとCopilotではコードを書くには一瞬で終わるが、自分の頭を使って答えを出したい人はJupyterNotebookなどのほかの環境がおすすめ(Copilotが優秀すぎるため)。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?