Using Math and Random Modules (PLAB-PYTH)

Welcome to the Using Math and Random Modules practice lab. In this module, you will be provided with the instructions and devices needed to develop your hands-on skills.

Overview

Learning Outcomes

In this module, you will complete the following exercises:

  • Exercise 1 – Using the Math Module
  • Exercise 2 – Using the Random Module

After completing this lab, you will be able to:

  • Use built-in math functions in Python to perform various math operations such as addition, factorial, exponential, power, and square root.
  • Generate random numbers using the random module.
  • Demonstrate the use of “

    seed”

    to produce pseudo-random numbers.