samedi 16 octobre 2021

Generate a list of 10 integer random numbers from 10 to 30. And then generate another list of 10 integer randoms from 40 to 70

Generate a list of 10 integer random numbers from 10 to 30. And then generate another list of 10 integer randoms from 40 to 70 I have a error in code and i cant solve it! Convert these lists into the sets and then unify them to get a new set.

import random as d *
for i in range(10,30):
    i.randist(10,30)
    print(i)
for c in range(40,70):
    c.randist(c)
    print(c)



Aucun commentaire:

Enregistrer un commentaire