dimanche 8 mai 2022

how do I get a random no between 1 and 100 in python?

so, I'm writing a program where I have to randomly pick a number between 1 and 100 excluding 1 and 100 in python, how do I make this happen? I've tried the randint function and the randrange function but both give me 1 as well as 100.




Aucun commentaire:

Enregistrer un commentaire