jeudi 19 décembre 2019

Module object in callable in python - Atom.io as as Jupyter notebook

import random

for i in random(10):
    x = random.random()
    print(x)

TypeError: 'module' object is not callable

I am getting the following error when I am trying to run this program in the atom.io




Aucun commentaire:

Enregistrer un commentaire