repl.it
@anonymous/

HauntingLonelyCompilers

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
lista = [[4,5,3,15,4],
         [20,17,3,4,56],
         [5,6,2,90,32],
         [18,7,1,8,13],
         [0,20,30,4,7]]
         
lista = [[10 if j <= 4 else j for j in i] for i in lista]
print(lista)