added latex unavailable message and scripts folder

This commit is contained in:
lukew3
2021-10-06 12:30:15 -04:00
parent b66a5bdec7
commit 7e7463e6a6
100 changed files with 384 additions and 21 deletions

View File

@@ -19,6 +19,8 @@ def BCDtoDecimalFunc(maxNumber=10000, format='string'):
problem = "Integer of Binary Coded Decimal " + str(n) + " is = "
solution = int(binstring, 2)
return problem, solution
elif format == 'latex':
return "Latex unavailable"
else:
return n, int(binstring, 2)