Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bug for Solution for part02-03_typecasting

オープン
#32 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
content

調査の方向性

Start by running the shown typecasting example with 1.3 and inspect the expected output for the exercise. Confirm how the integer and decimal parts should be represented, then update the solution so the reported decimal part matches that expectation and verify the example again.

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

説明


number = float(input("Please type in a number: "))
--
intpart = int(number)
decpart = number - intpart
print(f"Integer part: {intpart}")
print(f"Decimal part: {decpart}")
 

1.3 returns 0.2999999999999998

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

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

rage/programming-26 のほかの issue

rage/programming-26 の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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