DEV Community

Aadarsh Ancha
Aadarsh Ancha

Posted on

Python basics: Libraries Pt.1

Hi, my name is Aadarsh and today I'm going to be teaching you what a library is in python.Hope you enjoy!

There are three types of libraries, and they are called modules

  1. Math
  2. Time
  3. Random

Math can be used to do equations and other operations
Time can be used to wait, Good for making a game
Random is like a rng

To use these libraries, you'll have to have do something called import

For example:

Image description

Thats all for now! I'll make Pt.2 in a few days for deeper explanation. Peace

Top comments (2)

Collapse
 
aadarsh_ancha_bba80fa9cdf profile image
Aadarsh Ancha

and I'm not done with this tutorial yet I'll make Pt.2

Collapse
 
aadarsh_ancha_bba80fa9cdf profile image
Aadarsh Ancha

Hi guys hope ya like it!