daily pastebin goal

3 dimenssion array loop

a guest Dec 7th, 2017 50 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
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