import random as rnd
rnd.seed(42)
notas_matematica = [rnd.randrange(0, 11) for notas in range(8)]
notas_matematicaOutput:
[10, 1, 0, 4, 3, 3, 2, 1]
ATÉ 50% OFF
TÁ ACABANDO!
0 dias
0 horas
0 min
0 seg
import random as rnd
rnd.seed(42)
notas_matematica = [rnd.randrange(0, 11) for notas in range(8)]
notas_matematicaOutput:
[10, 1, 0, 4, 3, 3, 2, 1]
Ótimo.