vendredi 29 novembre 2019

TypeError: random() takes no arguments (2 given)

I keep getting the error TypeError: random() takes no arguments (2 given) at this line withing my code: atk = random.random(8, 12)

The out out I want from this line, is for the "atk" variable to output a random number between 8 and 12, whenever that event is called. Could someone help me with this please ?




Aucun commentaire:

Enregistrer un commentaire