samedi 23 octobre 2021

I want to generate a list of 10 distinct random 2-digit integer numbers

I want to generate a list of 10 distinct random 2-digit integer numbers. And find the values cubes

import random as r
import math as i

ss = [r.randint(10,100) for i in range(10)]
print(i.pow(ss))


I did it wrong so i need some help.




Aucun commentaire:

Enregistrer un commentaire