daily pastebin goal
4%
SHARE
TWEET

3 dimenssion array loop

a guest Dec 7th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a6 = [[[0,0][2,4]][[3,9,2][4,16]]]
  2. sum = 0
  3. for column in a6:
  4.   for row in column:
  5.     for x in row:
  6.       sum = sum + x
RAW Paste Data
Top