compilateur Python en ligne
Use Repl.it "Believe me It's Best"
linK: https://repl.it/languages/python3
DracaryS
Use Repl.it "Believe me It's Best"
linK: https://repl.it/languages/python3
import numpy
dataset = numpy.zeros(3,3)
dataset = numpy.random.randint(0,6,(3,3))
array([[5,3,2], [3,5,0], [5,2,4]])
total = dataset[:, 0].sum() + dataset[1, 1:].sum() + dataset[2,1].sum()
print(total)