简单题,不多说
class Solution:
def countSeniors(self, details: List[str]) -> int:
ans = 0
for l in details:
if int(l[11:13]) > 60:
ans += 1
return ans
简单题,不多说
class Solution:
def countSeniors(self, details: List[str]) -> int:
ans = 0
for l in details:
if int(l[11:13]) > 60:
ans += 1
return ans