Sure! Here’s how to construct a simple program in Python that assigns the value 14 to a variable and then prints that variable.
# Assign the value 14 to a variable
variable_name = 14
# Print the variable
print(variable_name)
You can replace variable_name
with any name you choose, such as my_variable
. The important parts are assigning the value and using the print()
function to display it.