I changed my name and the hello message

A value is anything that is what it is, instead of referring to something else.A name is different from a value, because it refers to something else.
An everyday situation that its important to distinguish from a  name and a value is if you are called a prisoner. You may be a prisoner, but that is not who you are, you are a human.
A name in coding is important because of the ability to read the code better and understand it better. Also, it allows for reduced errors.
A function is like a variable becasue it assigns a name to seeries of blocks of  code.
Functions make related criteria grouped together, so that it is organized in a way to read and fix it easier
When your coding a game and you have functions for each level.
This commit is contained in:
mdecker6
2025-09-03 17:54:27 -04:00
parent 4d7149e863
commit 6ffd31b6d2
3 changed files with 10 additions and 3 deletions

View File

@@ -2,6 +2,6 @@
# ------------
# By MWC contributors
my_name ="Chris"
greeting = "Hello, " + my_name
my_name ="Matt "
greeting = "wasuppppp, " + my_name
print(greeting)