Guest User

Untitled

a guest
Oct 22nd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. s = '12345678'
  2. a = [int(c) for c in s]
  3.  
  4. s = ['12', '34']
  5.  
  6. a = [[int(c) for c in l] for l in s]
Add Comment
Please, Sign In to add comment