Add integer division comparison to Numeric in Data Types

未關閉 適合新手
#149 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1-3 小時
新手友好度
62/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
documentation

研究方向

找到 Numeric in Data Types 部分中使用 match 敘述、grade 變數和整除的 Python 程式碼區塊。閱讀周圍的課程文字,然後解釋整除如何將 85 變成 8 並去掉最右側的數字;這是在學生能夠理解為什麼要為 match 敘述準備 grade 時進行的。

由索引模型根據 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. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

RunestoneInteractive/java4python 的其他 Issue

查看 RunestoneInteractive/java4python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。