質問編集履歴

2

インデントを追加(1回目失敗のため2回目)

2022/12/02 14:53

投稿

net-sn
net-sn

スコア2

test CHANGED
File without changes
test CHANGED
@@ -5,7 +5,7 @@
5
5
  以下のコードを実行した場合、どの順序でNested Functionが実行されるのでしょうか。
6
6
 
7
7
  ーーーーーーーーーーーーーーーーーーープログラム
8
- ``ここに言語を入力
8
+ ```ここに言語を入力
9
9
  def outer(x):
10
10
  def inner(word):
11
11
  echo = word * x
@@ -21,9 +21,7 @@
21
21
  ”””POINT B
22
22
  print(c2(‘hello'), c3('hello'))
23
23
 
24
-
25
- ```コード
24
+ ```
26
-
27
25
  上記のプログラムを実行した場合、
28
26
  はじめてouter(x)が実行されるのは、
29
27
  POINT Bでしょうか。

1

コメント有難うございました。インデント追加できました。

2022/12/02 14:52

投稿

net-sn
net-sn

スコア2

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,7 @@
5
5
  以下のコードを実行した場合、どの順序でNested Functionが実行されるのでしょうか。
6
6
 
7
7
  ーーーーーーーーーーーーーーーーーーープログラム
8
+ ``ここに言語を入力
8
9
  def outer(x):
9
10
  def inner(word):
10
11
  echo = word * x
@@ -20,6 +21,8 @@
20
21
  ”””POINT B
21
22
  print(c2(‘hello'), c3('hello'))
22
23
 
24
+
25
+ ```コード
23
26
 
24
27
  上記のプログラムを実行した場合、
25
28
  はじめてouter(x)が実行されるのは、