import random
x=random(0,2)
print (x)
TypeError: 'module' object is not callable
random module is not callable
why i am getting this error please help
Traceback (most recent call last):
File "C:\Users\never\Desktop\python-code\demo.py", line 2, in <module>
x=random(0,2)
TypeError: 'module' object is not callable
Process finished with exit code 1
please
Aucun commentaire:
Enregistrer un commentaire