Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73af754

Browse files
committed
Fix account ids
1 parent343608a commit73af754

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎lab-11/atm.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# TODO: validate if id given is an integer
22
fromaccountimportAccount
33

4-
account_1=Account(1+2,100)
5-
account_2=Account(2+1,100)
6-
account_3=Account(3+1,100)
7-
account_4=Account(4+1,100)
8-
account_5=Account(5+1,100)
9-
account_6=Account(6+1,100)
10-
account_7=Account(7+1,100)
11-
account_8=Account(8+1,100)
12-
account_9=Account(9+1,100)
4+
account_1=Account(1,100)
5+
account_2=Account(2,100)
6+
account_3=Account(3,100)
7+
account_4=Account(4,100)
8+
account_5=Account(5,100)
9+
account_6=Account(6,100)
10+
account_7=Account(7,100)
11+
account_8=Account(8,100)
12+
account_9=Account(9,100)
1313

1414
defget_id():
1515
globalid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp