Omnibus commited on
Commit
48c079b
·
verified ·
1 Parent(s): cd9d81b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -8,7 +8,11 @@ def build(size=5):
8
  box_o=[x for x in range(size)]
9
  for i in range(size):box.append(box_o)
10
  print(box)
11
- box_cent=int(tot/2)
 
 
 
 
12
  num_h,num_v=0,0
13
  for i in range(1,tot):
14
  box[box_cent]=i
 
8
  box_o=[x for x in range(size)]
9
  for i in range(size):box.append(box_o)
10
  print(box)
11
+ box_cent=int(len(box)/2)
12
+ print(box_cent)
13
+ cent=int(len(box_cent)/2)
14
+ print(cent)
15
+ print(box_cent[cent])
16
  num_h,num_v=0,0
17
  for i in range(1,tot):
18
  box[box_cent]=i