1400_SpaceCat

Problem.

Jan 10th, 2016
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. #(1)
  2. someList = {
  3.     1000:[
  4.         ("1","2","3","","5","","7","8","9")
  5.         ],
  6.     1001:[
  7.         ("1","2","3","4","5","6","","8","9")
  8.         ],
  9.     }
  10.  
  11. #(2)
  12. for i in range(len(listy)):
  13.     if ( "" == listy[i+1000][i-1000:][i-1000:] ):
  14.         print("%d\t%d\tEMPTY BLOCK\t[%d]" % (i+1000,i-000,i))
  15.     else:
  16.         print("%d\t%d\tFULL BLOCK\t[%d]" % (i+1000,i-000,i))
Advertisement
Add Comment
Please, Sign In to add comment