Initial work

This commit is contained in:
bluepython508
2023-11-01 08:55:40 +00:00
parent 996ea45153
commit 688d1ec426
48 changed files with 1148 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
def trapezium_area(w1, w2, h):
return h * (w1 + w2) / 2
w1 = int(input("Width of the top: "))
w2 = int(input("Width of the bottom: "))
h = int(input("Height: "))
print(f"Area is {trapezium_area(w1, w2, h)}")