+ 1

What is the elements inside the module "random" and "math" ?

The courses give a general knowledge about modules and their use/call .... But it's fine to give a table witch give every module with the sub-function/methods inside it

30th Jul 2022, 1:48 PM
Mohamed MECHBAL
Mohamed MECHBAL - avatar
2 Antworten
+ 4
You can also use dir function to check what functions a module has and help function to check module's documentation through Python's help interface. print(dir(random)) help() or help("math") or help(math)
30th Jul 2022, 2:46 PM
Seb TheS
Seb TheS - avatar
30th Jul 2022, 2:05 PM
A͢J
A͢J - avatar