This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import List | |
def only_evens(numbers: List[int]) -> List[int]: | |
""" | |
Returns a sorted list of even numbers from the input list. | |
Args: | |
numbers (list of int): List of integers. | |
Returns: | |
list of int: Sorted list of even integers. |
NewerOlder