回答編集履歴

1

コードを修正

2017/09/22 07:36

投稿

miyahan
miyahan

スコア3095

test CHANGED
@@ -7,6 +7,18 @@
7
7
 
8
8
 
9
9
  ```python
10
+
11
+ class Vegetable(object):
12
+
13
+ def __init__(self, weight, color, price):
14
+
15
+ self.weight = weight
16
+
17
+ self.color = color
18
+
19
+ self.price = price
20
+
21
+
10
22
 
11
23
  vegetables = {
12
24