質問編集履歴

1

状況の修正

2021/05/05 14:08

投稿

yyjfou
yyjfou

スコア35

test CHANGED
File without changes
test CHANGED
@@ -16,21 +16,21 @@
16
16
 
17
17
 
18
18
 
19
- def __init__(self):
19
+  def __init__(self):
20
20
 
21
- self.__x = 2
21
+   self.__x = 2
22
22
 
23
23
 
24
24
 
25
- def getx(self):
25
+  def getx(self):
26
26
 
27
- return self.__x
27
+   return self.__x
28
28
 
29
29
 
30
30
 
31
- def setx(self, val):
31
+  def setx(self, val):
32
32
 
33
- print "x is read only"
33
+   print "x is read only"
34
34
 
35
35
  ```
36
36