samedi 1 janvier 2022

TypeError: 'module' object is not callable , I can't get a random number [closed]

I'am a beginner

I use python 3.8.1 in my MacBook

I want get a random mumber

my code is

import random
random()

Traceback (most recent call last): File "<pyshell#1>", line 1, in random() TypeError: 'module' object is not callable

I don't know the reason Thank you very much!




Aucun commentaire:

Enregistrer un commentaire