kuba17ism

5.4

Jan 9th, 2021
769
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. najw = tablica[0][0]
  4. najm = tablica[0][0]
  5.  
  6. for i in range(len(tablica)):
  7.     for j in range(len(tablica[i])):
  8.         if tablica[i][j] < najm:
  9.             najm = tablica[i][j]
  10.         if tablica[i][j] > najw:
  11.             najw = tablica[i][j]
  12.  
  13. print(najm, najw)
  14.  
RAW Paste Data