kuba17ism

5.5

Jan 9th, 2021
857
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tablica = [[23, 22, 33, 342], [44, 55, 66, 127], [77, 88, 99, 69]]
  2.  
  3. wynik = [0,0,0]
  4.  
  5. for i in range(len(tablica)):
  6.     for j in range(len(tablica[i])):
  7.         wynik[i] += tablica[i][j]
  8.  
  9. print('{} {} {}'.format(*wynik))
  10.  
RAW Paste Data