Skip to content

Commit edc809b

Browse files
committed
update unneeded print
1 parent b2ee0db commit edc809b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

binary-hexadecimal-conversion.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ def hexToBinary():
9898
binaryEquivalent=''
9999
for char in reversed(hexValue): #loop skipped for empty strings
100100
try:
101-
print(binaryEquivalentsOfHex[char])
102101
binaryEquivalent= binaryEquivalentsOfHex[char] +binaryEquivalent
103102
except KeyError: #if key is not in my list of valid conversions
104103
print('Error, you entered an invalid hex value. Try again')
@@ -115,4 +114,4 @@ def isValidBinary(string):
115114
return True
116115

117116

118-
showWelcomeScreen()
117+
showWelcomeScreen()

0 commit comments

Comments
 (0)