Skip to content

Instantly share code, notes, and snippets.

@SilentKernel
Created January 10, 2026 10:00
Show Gist options
  • Select an option

  • Save SilentKernel/41c0d08758977fb7b0575b1bd61b887b to your computer and use it in GitHub Desktop.

Select an option

Save SilentKernel/41c0d08758977fb7b0575b1bd61b887b to your computer and use it in GitHub Desktop.
def advance(vx, vy, steps):
x, y = 1, 1
for _ in range(steps):
x *= vx
y *= vy
return x, y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment