見出し画像

ハーバード大学のプログラミングコース CS50 Python Week 0

こんにちは、この記事では、Harvard大学のProgramming Course 『CS50’s Introduction to Programming with PythonのWeek 1 Functions, Variablesについて書きます。

僕は、今Harvard大学が提供する無料のオンライン・プログラミング・コースのPythonを勉強しながら、そこで得た情報や知識などを、これからプログラミングを勉強する方、CS50が気になっている方、勉強中で復習したい方向けにシェアするために記事を書いています。よかったら一緒に勉強しましょう。

YouTubeでも受講の仕方について解説しました。


Homepage

Week 0 Functions

下記のサイトから、Week 0 Functionsの動画を見ることができます。YouTubeでも見ることができます。下記にリンクがあります。

YouTube - CS50P - Lecture 0 - Functions, Variables

Shorts

講義で触れなかった内容や補足的な短い動画です。VSCodeやTerminal、Command-lineを使ったことがない方は、講義の前に、Visual Studio Code for CS50の動画から見ることをお勧めします。

  1. Visual Studio Code for CS50

  2. Functions

  3. Return Values

  4. Variables

YouTube

授業の動画や、ショートは、YouTubeでも見ることができます。下記のリンクから見てください。

Problem Set 0

授業で学んだことを使って、問題を解いていきます。下記にやることが書いてあるので、それに従って、進めてください。問題は、全5問です。

  1. Submit this form.

  2. Visit this link, log in with your GitHub account, and click Authorize CS50.

  3. Check the box indicating that you’d like to grant course staff access to your submission, and click Join course.

  4. Log into cs50.dev, which is a cloud-based version of Visual Studio Code (VS Code) that provides you with your very own “codespace” with everything that you need for the course pre-installed. No need to download and install VS Code or Python on your own Mac or PC! If not already familiar, be sure to watch the Visual Studio Code for CS50 Short for a full overview.

  5. Once your codespace has loaded, close any Welcome tabs that might have opened by default

  6. Execute update50 in your codespace’s terminal window to ensure that your codespace is up-to-date; if prompted, click Rebuild now.

  7. Submit all of the problems below:

  1. Indoor Voice

    1. Playback Speed

    2. Making Faces

    3. Einstein

    4. Tip Calculator

Code

下記のサイトに授業中にメモしたコードを載せています。hashnodeというプログラマー向けブログサービスで、コードが書きやすいので、noteではなくこちらでシェアします。

これからも引き続き、情報をシェアしていきますので、いいねとフォローをしていただけると嬉しいです。

最後までご覧いただきありがとうございます。
また次回の記事でお会いしましょう!

この記事が気に入ったらサポートをしてみませんか?