Guest User

Untitled

a guest
Jan 10th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. someList = {
  2.     1000: ("1","2","3","","5","","7","8","9"),
  3.     1001: ("1","2","3","4","5","6","","8","9"),
  4. }
  5.  
  6. for key, value in someList.items():
  7.     for item in value:
  8.         print('%d:\tFULL BLOCK\t[%s]' % (key, item)) if item != '' else print('%d:\tEMPTY BLOCK\t[ ]' % key)
Advertisement
Add Comment
Please, Sign In to add comment