Code
start = 1 end = 100 guess = random.randint(start, end)
Error ValueError: empty range for randrange() (9, 2, -7)
ValueError: empty range for randrange() (9, 2, -7)
The error occurs because of an empty range. But is the range from 1 to 100 empty?
Aucun commentaire:
Enregistrer un commentaire