Contact: aviboots(AT)netvision.net.il
39,971 questions
51,913 answers
573 users
arr = [ [1, 2, 3, 0], [4, 5, 6, 1], [7, 8, 9, 5] ]; rows = len(arr); cols = len(arr[0]); total_elements = rows * cols print(total_elements) ''' run: 12 '''