Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def hexstring_converter(hexstring):
- splithex = hexstring.split('-')
- for numb in splithex:
- print int(numb, 16),
- hexstring = str(raw_input('Enter hexstring(including "-") >'))
- hexstring_converter(hexstring)
Advertisement
Add Comment
Please, Sign In to add comment