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 Math Time 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: Thats all for now! I'll make Pt.2 in a few days for deeper explanation. Peace

Feb 18, 2025 - 01:02
 0
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