Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- someList = {
- 1000: ("1","2","3","","5","","7","8","9"),
- 1001: ("1","2","3","4","5","6","","8","9"),
- }
- for key, value in someList.items():
- for item in value:
- 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