add format kwarg

This commit is contained in:
lukew3
2021-10-06 02:22:32 -04:00
parent 6b35cbb452
commit 9682a569ba
115 changed files with 934 additions and 628 deletions

View File

@@ -1,7 +1,7 @@
from .__init__ import *
def DecimalToBinaryFunc(max_dec=99):
def DecimalToBinaryFunc(max_dec=99, format='string'):
a = random.randint(1, max_dec)
b = bin(a).replace("0b", "")