Files
lab_names/greetings.py
tsmith37 36ccc54dca calculate the area of a circle
value is what it is and name is what it refers to something else.
Variables are useful in programing becouse once you give that value a name you dont have to write out the whole thing, you can just write the name and it will represnt the value.
2025-09-06 22:15:54 -04:00

8 lines
137 B
Python

# greetings.py
# ------------
# By MWC contributors
my_name = input("what is your name")
greeting = "Hello, " + my_name
print(greeting)