from random import seed from random import randint seed(1) for _ in range(100): value = randint(0, 10) if value() == 8: print(value)
The error message is:
if value() == 8: TypeError: 'int' object is not callable
if value() == 8:
TypeError: 'int' object is not callable
Aucun commentaire:
Enregistrer un commentaire