回答編集履歴

1

誤字を修正

2020/11/22 00:15

投稿

Daregada
Daregada

スコア11990

test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  def get_first_weekday_date(base_date):
16
16
 
17
- monday = base_date - datetime.timedelta(days=today.weekday())
17
+ monday = base_date - datetime.timedelta(days=base_date.weekday())
18
18
 
19
19
  for i in range(7):
20
20