回答編集履歴
1
エラーを修正
test
CHANGED
@@ -8,11 +8,11 @@
|
|
8
8
|
|
9
9
|
self.price=price
|
10
10
|
|
11
|
-
def priceOf(a):
|
11
|
+
def priceOf(self,a):
|
12
12
|
|
13
13
|
price = self.price
|
14
14
|
|
15
|
-
return price *
|
15
|
+
return price * a
|
16
16
|
|
17
17
|
a=Product("ennpitu",100)
|
18
18
|
|