Well you see I am creating a Pokemon game in Python and I have created a Pokemon class. Then I created the Pokemon as an object. I created 9 Pokemon. I want to pick a random pokemon object for the user to battle with so I used random.randint()
and I even tried random.randrange()
but it didn't work.
Aucun commentaire:
Enregistrer un commentaire