To run the program, save the code in a file named constants.py and use the Python interpreter.
In this example, constants are declared by assigning values to variables written in all uppercase letters. We then use these constants in various operations and functions.