daily pastebin goal
51%
SHARE
TWEET

similiar to this, but doesnt work

a guest Jun 13th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rectangles = []
  2.  
  3. def some_func():
  4.     global rectangles
  5.  
  6.     somelist = [(11, [0, 0, 1, 16]), (73, [1, 0, 15, 15]), (63, [15, 0, 14, 5]), (16, [14, 0, 13, 9]), (38, [13, 0, 18, 18]), (44, [18, 0, 5, 12]), (95, [5, 0, 16, 2]), (9, [16, 0, 8, 5]), (55, [8, 0, 10, 11]), (24, [10, 0, 0, 20]), (52, [8, 20, 0, 17]), (14, [19, 17, 0, 4]), (1, [12, 4, 0, 10]), (86, [18, 10, 0, 13]), (45, [19, 13, 0, 15]), (68, [2, 15, 0, 16]), (41, [1, 16, 0, 8]), (18, [19, 8, 0, 17]), (81, [16, 17, 0, 0]), (51, [5, 11, 16, 0]), (53, [11, 18, 5, 0]), (56, [18, 11, 11, 0]), (64, [18, 12, 18, 0]), (66, [14, 5, 18, 0]), (23, [9, 1, 14, 0]), (7, [19, 1, 9, 0]), (49, [5, 6, 19, 0]), (62, [0, 5, 5, 0]), (15, [0, 4, 2, 5]), (87, [0, 19, 8, 4]), (84, [0, 2, 19, 19]), (60, [0, 6, 12, 2]), (17, [0, 2, 16, 6]), (8, [0, 1, 14, 2]), (57, [0, 1, 8, 1]), (42, [0, 16, 5, 1])]
  7.  
  8.     rectangles.append(somelist)
  9.  
  10. if __name__ == "__main__":
  11.     for i in range(0,9):
  12.         some_func()
  13.     print(rectangles)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top