Skip to content

Commit

Permalink
update unneeded print
Browse files Browse the repository at this point in the history
  • Loading branch information
SleekPanther committed Mar 3, 2017
1 parent b2ee0db commit edc809b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions binary-hexadecimal-conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def hexToBinary():
binaryEquivalent=''
for char in reversed(hexValue): #loop skipped for empty strings
try:
print(binaryEquivalentsOfHex[char])
binaryEquivalent= binaryEquivalentsOfHex[char] +binaryEquivalent
except KeyError: #if key is not in my list of valid conversions
print('Error, you entered an invalid hex value. Try again')
Expand All @@ -115,4 +114,4 @@ def isValidBinary(string):
return True


showWelcomeScreen()
showWelcomeScreen()

0 comments on commit edc809b

Please sign in to comment.