Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Follow Instructions by mildm
def follow(i: str) -> tuple[int, int] | list[int]:
return (i.count("r")-i.count("l"), i.count("f")-i.count("b"))
Aug. 26, 2023