8 lines
214 B
Python
8 lines
214 B
Python
class Solution:
|
|
def countSeniors(self, details: List[str]) -> int:
|
|
total = 0
|
|
for i in details:
|
|
if int(i[11:13]) > 60:
|
|
total += 1
|
|
|
|
return total |