4b - Programming in Python - Constants and Variables
4b - Programming in Python - Constants and Variables
PYTHON
Literal Constants and Variables
Take note of the output once you have run the code.
COMMENT
This is referred to as the direct method.
Take note of the use of the commas and quotes
COMMENT
• This is referred to as the format method because it makes use of
the format function.
• Take note of the use of curly braces.
The Output
The ALSI is 117 today on the ZSE