Add integer division comparison to Numeric in Data Types

オープン 初心者向け
#149 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
documentation

調査の方向性

Numeric in Data Types セクションで、match 文、変数 grade、整数除算を使用している Python コードブロックを見つけてください。周囲のレッスンテキストを読み、整数除算によって 85 が 8 になり、右端の桁が取り除かれる仕組みを説明してください。これは、grade が match 文のために準備される理由を学生が理解できる段階で行われます。

索引モデルが issue の本文から書いたものです。

説明

Is your feature request related to a problem? Please describe.
The Python code block using a match statement that takes a two or three digit integer called grade and uses floor division to remove the rightmost digit. This may be confusing to students who are not aware that using floor division on a number like 85 will result in 8 when dividing the number by 10.

Describe the solution you'd like
Explain floor division here, and how it is being used to strip away digits so the grade can be used in the match statement.

主要言語
Python
スター
28
フォーク
42
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RunestoneInteractive/java4python のほかの issue

RunestoneInteractive/java4python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。