回答編集履歴

1

修正

2020/10/21 11:47

投稿

meg_
meg_

スコア10760

test CHANGED
@@ -1,12 +1,12 @@
1
1
  ```Python
2
2
 
3
- from urllib import request
3
+ import urllib as ul
4
4
 
5
5
  import datetime
6
6
 
7
7
  now = datetime.datetime.now()
8
8
 
9
- result=request.urlretrieve("https://i02.smp.ne.jp/u/mutb_img/{0:%Y%m%d}.pdf".format(now),"today.pdf")
9
+ result=ul.request.urlretrieve("https://i02.smp.ne.jp/u/mutb_img/{0:%Y%m%d}.pdf".format(now),"today.pdf")
10
10
 
11
11
  ```
12
12