We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ee0db commit edc809bCopy full SHA for edc809b
binary-hexadecimal-conversion.py
@@ -98,7 +98,6 @@ def hexToBinary():
98
binaryEquivalent=''
99
for char in reversed(hexValue): #loop skipped for empty strings
100
try:
101
- print(binaryEquivalentsOfHex[char])
102
binaryEquivalent= binaryEquivalentsOfHex[char] +binaryEquivalent
103
except KeyError: #if key is not in my list of valid conversions
104
print('Error, you entered an invalid hex value. Try again')
@@ -115,4 +114,4 @@ def isValidBinary(string):
115
114
return True
116
117
118
-showWelcomeScreen()
+showWelcomeScreen()
0 commit comments