-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2c51f3
commit 8aa9579
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
- $ 5 + 10 CHF = $ 10( レート が 2: 1 の 場合) | ||
- $ 5 * 2 = $ 10 | ||
- amount を private に する | ||
- Dollar の 副作用 どう する? | ||
- Money の 丸め 処理 どう する? | ||
- [ ] $ 5 + 10 CHF = $ 10( レート が 2: 1 の 場合) | ||
- [x] $ 5 * 2 = $ 10 | ||
- [ ] amount を private に する | ||
- [ ] Dollar の 副作用 どう する? | ||
- [ ] Money の 丸め 処理 どう する? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
class Dollar: | ||
def __init__(self,amount): | ||
self.amount = 10 | ||
def __init__(self,amount:int) -> int: | ||
self.amount = amount | ||
|
||
def times(self, multiplier): | ||
pass | ||
def times(self, multiplier:int) -> int: | ||
self.amount = 5 * 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters