When I type this:
rand_num = random.choice(1, 101)
It shows:
TypeError: choice() takes 2 positional arguments but 3 were given
These are all put in functions and I don't get why it says this.
Aucun commentaire:
Enregistrer un commentaire