mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-23 08:51:31 -04:00
Update convert_any_base.py
This commit is contained in:
parent
737898f55d
commit
c87740bc66
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
|
||||
def convert_to_any_base(base: int, num: int) -> str:
|
||||
|
||||
if num == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue