Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMUZ140907 Wellington Maredza
3,014 Pointsimport the random library
in python, i think i am missing the point somewhere
int(random.random()
1 Answer
Vittorio Somaschini
33,371 PointsHello Wellington.
I presume you are referring to task 1/2.
To import a library in python we use the word "import" at the very top of the file, followed by a space and the name of the library we want to import.
Vittorio