添加抽答页面

This commit is contained in:
2025-06-03 23:55:16 +08:00
parent 5e73571705
commit a2250d25cf
3 changed files with 41 additions and 2 deletions

View File

@@ -59,6 +59,10 @@ class PickerStudent:
def modify(self) -> bool:
return self._modify
@property
def weight(self) -> int:
return int(sum(1 for x in self._scores if x != 0) / self.total_time * 100)
def saved(self):
self._modify = False