HF RL Explorer

Implement the Python function specified below. Return ONLY the indented function body, without repeating the…

Implement the Python function specified below. Return ONLY the indented function body, without repeating the…: a task in unslop-harbor (Harbor dataset). def largest divisor(n: int) - int: """ For a given number n, find the largest number that divides n evenly, smaller than n largest divisor(15) 5…

The task

def largest_divisor(n: int) -> int: """ For a given number n, find the largest number that divides n evenly, smaller than n >>> largest_divisor(15) 5 """

Part of rawmodels/unslop-harbor.