Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - def quadTree():
- size = int(input(print("Enter a size: "))) #size will be 8
- box = [[] for i in range(size)]
- while(len(box) < 9):
- entry = input(print("Enter 0 or 1 for colors: ")) #EX: 00000000, 11111111, or 10101010
- for i in range(size):
- for j in range(size):
- box[i].append(entry)
- print(box)
- quadTree()
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment                    
                 
                    