1
This commit is contained in:
8
solutions/lc2678.py
Normal file
8
solutions/lc2678.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
Reference in New Issue
Block a user