回答編集履歴

1

get_vacant_dayのif文がself.~~~になっていなかったので直した

2019/08/18 12:27

投稿

wintermaples
wintermaples

スコア116

test CHANGED
@@ -42,11 +42,11 @@
42
42
 
43
43
  def get_vacant_day(self) -> str:
44
44
 
45
- if property.vacant_day_num == 3:
45
+ if self.vacant_day_num == 3:
46
46
 
47
47
  return '月、火'
48
48
 
49
- elif property.vacant_day_num == 96:
49
+ elif self.vacant_day_num == 96:
50
50
 
51
51
  return '月、火、水、木、金、土、日'
52
52