generated from mwc/lab_names
I changed name from Chris to Seoyeon.
Name is a school lunch menu and each day food that are served differ. Pizza with some salad is value. I don't know much about programming, but I guess names are useful because value of each name can change often and name can be used to avoid typing values multiple times. It's like Excel spreedsheet?!
This commit is contained in:
@@ -2,5 +2,7 @@
|
|||||||
# --------------
|
# --------------
|
||||||
# By MWC Contributors
|
# By MWC Contributors
|
||||||
|
|
||||||
|
pi = 3.141592653
|
||||||
print("This program will calculate the area of a circle.")
|
print("This program will calculate the area of a circle.")
|
||||||
radius = float(input("What is the circle's radius? "))
|
radius = float(input("What is the circle's radius? "))
|
||||||
|
print(pi * radius * radius)
|
||||||
@@ -2,6 +2,6 @@
|
|||||||
# ------------
|
# ------------
|
||||||
# By MWC contributors
|
# By MWC contributors
|
||||||
|
|
||||||
my_name ="Chris"
|
my_name = input("what is your name?")
|
||||||
greeting = "Hello, " + my_name
|
greeting = "Hello, " + my_name
|
||||||
print(greeting)
|
print(greeting)
|
||||||
|
|||||||
7
poetry.lock
generated
Normal file
7
poetry.lock
generated
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand.
|
||||||
|
package = []
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
lock-version = "2.0"
|
||||||
|
python-versions = "^3.10"
|
||||||
|
content-hash = "53f2eabc9c26446fbcc00d348c47878e118afc2054778c3c803a0a8028af27d9"
|
||||||
Reference in New Issue
Block a user