daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. st = input('Gimme a string: ')
  2. a = map(bin, bytearray(st.encode()))
  3. result = [x[2:] for x in a]
  4. print(' '.join(result))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top