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 greatest common divisor(a: int, b: int) - int: """ Return a greatest common divisor of two integers a and b greatest common divisor(3, 5) 1…

The task

def greatest_common_divisor(a: int, b: int) -> int: """ Return a greatest common divisor of two integers a and b >>> greatest_common_divisor(3, 5) 1 >>> greatest_common_divisor(25, 15) 5 """

Part of rawmodels/unslop-harbor.