kubectl get pods shows a READY column like "2/3" (ready containers / total containers). Given a list of
READY strings, return how many pods are fully ready: the numbers are equal and greater than zero.
Ignore malformed values.
Implement ready_pods. Input: ready: list[str]. Returns: int.
def ready_pods(ready: list[str]) -> int:
return 0
Run executes the public tests. Submit grades against public and hidden tests.
kubectl get pods shows a READY column like "2/3" (ready containers / total containers). Given a list of
READY strings, return how many pods are fully ready: the numbers are equal and greater than zero.
Ignore malformed values.
Implement ready_pods. Input: ready: list[str]. Returns: int.
def ready_pods(ready: list[str]) -> int:
return 0
Run executes the public tests. Submit grades against public and hidden tests.