It's little bit confusing when I only use the cod

es without argumenting them for four times, but
 stacy told me it's because we have another programming
 running nested codes...that's interesting...
This commit is contained in:
蔡卓耘
2024-09-25 10:55:04 -04:00
parent dc13d05c3e
commit 34d5739baf
4 changed files with 19 additions and 2 deletions

View File

@@ -4,3 +4,6 @@
print("This program will calculate the area of a circle.")
radius = float(input("What is the circle's radius? "))
pi=3.141592653
circle_area=pi*radius*radius
print(circle_area)