Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import operator
- text = (input())
- list1 = []
- for x in text:
- list1.append(ord(x))
- print(list1)
- lenght=len(list1)
- print(lenght)
- x=[]
- y=0
- for i in list1:
- x.append(bin(list1[y])[2:].zfill(8))
- y=y+1
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement