generated from mwc/lab_names
working on the triangle logic
This commit is contained in:
@@ -3,4 +3,6 @@
|
||||
# By MWC Contributors
|
||||
|
||||
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?"))
|
||||
area = 3.14*radius*radius
|
||||
print(area)
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
# ------------
|
||||
# By MWC contributors
|
||||
|
||||
my_name ="Chris"
|
||||
my_name = input("what is your name? ")
|
||||
greeting = "Hello, " + my_name
|
||||
print(greeting)
|
||||
print(greeting)
|
||||
|
||||
Reference in New Issue
Block a user