Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ Base Converter Number system.py
File
Base Converter Number system.py
Base Converter Number system.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
base_check(xnumber, xbase):
2
for
char in xnumber[len(xnumber) - 1]:
3
if
int(char) >= int(xbase):
4
return
False
Callers
nothing calls this directly
Calls
3
base_check
Function · 0.85
convert_from_10
Function · 0.85
convert_to_10
Function · 0.85
Tested by
no test coverage detected