Skip to content

Instantly share code, notes, and snippets.

@ahmedbesbes
Created October 2, 2022 20:05
Show Gist options
  • Save ahmedbesbes/266faba9fb33b4be1908a22c297ee912 to your computer and use it in GitHub Desktop.
Save ahmedbesbes/266faba9fb33b4be1908a22c297ee912 to your computer and use it in GitHub Desktop.
def foo(x: int, y: int, func: Callable[[int, int], int]) -> int:
output = func(x, y)
return output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment