From 657261e63513577bd64212250dc7593f7e563186 Mon Sep 17 00:00:00 2001 From: Stefano Agnelli Date: Wed, 27 Mar 2024 00:57:58 +0100 Subject: [PATCH 1/2] added 1st exercise --- projects/m1/001-area-of-a-room/python/main.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/projects/m1/001-area-of-a-room/python/main.py b/projects/m1/001-area-of-a-room/python/main.py index e69de29bb..cabcb60de 100644 --- a/projects/m1/001-area-of-a-room/python/main.py +++ b/projects/m1/001-area-of-a-room/python/main.py @@ -0,0 +1,10 @@ + +print("insert length in m") +length=float(input()) + +print("insert width in m") +width=float(input()) + +result=length*width + +print("The area of the room is " + str(result) + " sqm") \ No newline at end of file From e6749a5c9a192f5356e0c801553dcaca5f7c7708 Mon Sep 17 00:00:00 2001 From: Stefano Agnelli Date: Fri, 5 Apr 2024 21:57:14 +0200 Subject: [PATCH 2/2] added prova --- projects/m1/001-area-of-a-room/python/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/m1/001-area-of-a-room/python/main.py b/projects/m1/001-area-of-a-room/python/main.py index cabcb60de..82941d5f3 100644 --- a/projects/m1/001-area-of-a-room/python/main.py +++ b/projects/m1/001-area-of-a-room/python/main.py @@ -7,4 +7,5 @@ result=length*width -print("The area of the room is " + str(result) + " sqm") \ No newline at end of file +print("The area of the room is " + str(result) + " sqm") +#prova