回答編集履歴
1
コードの貼り付け間違いを修正
test
CHANGED
@@ -3,6 +3,18 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
```python
|
6
|
+
|
7
|
+
>>> def f(x):
|
8
|
+
|
9
|
+
... global number
|
10
|
+
|
11
|
+
... if not x:
|
12
|
+
|
13
|
+
... number += 1
|
14
|
+
|
15
|
+
... return number
|
16
|
+
|
17
|
+
...
|
6
18
|
|
7
19
|
>>> number = 0
|
8
20
|
|