回答編集履歴

1

修正

2020/07/24 10:36

投稿

8524ba23
8524ba23

スコア38341

test CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  ```Python
4
4
 
5
- def func(hoge):
5
+ def func(hoge, *args):
6
6
 
7
7
  try:
8
8
 
9
- hoge(1,2)
9
+ hoge(*args)
10
10
 
11
11
  except Exception as e:
12
12
 
@@ -24,10 +24,6 @@
24
24
 
25
25
  def main():
26
26
 
27
- func(div)
27
+ func(div,1,2)
28
-
29
-
30
-
31
- main()
32
28
 
33
29
  ```