Skip to content

Instantly share code, notes, and snippets.

@thanakijwanavit
Created April 19, 2021 06:58
Show Gist options
  • Save thanakijwanavit/3da6598afdf10155aea7322c74d58a52 to your computer and use it in GitHub Desktop.
Save thanakijwanavit/3da6598afdf10155aea7322c74d58a52 to your computer and use it in GitHub Desktop.
convert int to base x
numpy.base_repr(10, base=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment