From 6ffd31b6d23ed4219cff4e7813c27bec9a772b54 Mon Sep 17 00:00:00 2001 From: mdecker6 Date: Wed, 3 Sep 2025 17:54:27 -0400 Subject: [PATCH] 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. --- circle_area.py | 2 +- greetings.py | 4 ++-- poetry.lock | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 poetry.lock diff --git a/circle_area.py b/circle_area.py index 513d6f7..98c2bb2 100644 --- a/circle_area.py +++ b/circle_area.py @@ -3,4 +3,4 @@ # By MWC Contributors print("This program will calculate the area of a circle.") -radius = float(input("What is the circle's radius? ")) +radius = float(inp78.539816325ut("What is the circle's radius? ")) diff --git a/greetings.py b/greetings.py index 2d878a6..4556998 100644 --- a/greetings.py +++ b/greetings.py @@ -2,6 +2,6 @@ # ------------ # By MWC contributors -my_name ="Chris" -greeting = "Hello, " + my_name +my_name ="Matt " +greeting = "wasuppppp, " + my_name print(greeting) diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..7e72dc6 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand. +package = [] + +[metadata] +lock-version = "2.1" +python-versions = ">=3.10,<4.0" +content-hash = "7b8fc01b274bd807fb00372bbc8e138330f15ae7978ed61e180f3b17ec076725"