Introduction
In this lab, you will learn how to determine if a number is negative in Python. The lab begins by introducing the concept of negative numbers and demonstrating how to assign and manipulate them within a Python script. You'll create a negative_numbers.py
file, assign negative values to variables representing temperature, debt, and change, and then perform basic arithmetic operations to observe how negative numbers behave.
The lab then proceeds to teach you how to use conditional statements to check if a number is less than zero. This involves using the "less than zero" check to determine the sign of a number.