
Tony S. answered 11/10/19
Tutor
5.0
(104)
Student at IACS at Harvard University
You'd have to import the library or framework that contains those methods or object classes.
for example, if you want to generate a random integer and aggregate it to ''x'', you'd do something like this;
import random
x = random.randint()