From 34241b443b2a9573c8566b24e9bd682575bb65fc Mon Sep 17 00:00:00 2001 From: tiagorg Date: Thu, 20 Oct 2022 22:21:55 +0100 Subject: [PATCH] Just a comment --- 1ano/fp/aula01/ex08.py | 14 -------------- 1ano/fp/aula02/darts.cs | 3 +++ 2 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 1ano/fp/aula01/ex08.py diff --git a/1ano/fp/aula01/ex08.py b/1ano/fp/aula01/ex08.py deleted file mode 100644 index 49d9dae..0000000 --- a/1ano/fp/aula01/ex08.py +++ /dev/null @@ -1,14 +0,0 @@ -from math import sqrt - - -x1, y1 = input("Introduza x1 e y1, separados por uma virgula ',': ").split(',') -x2, y2 = input("Introduza x2 e y2, separados por uma virgula ',': ").split(',') - -x1 = float(x1) -y1 = float(y1) -x2 = float(x2) -y2 = float(y2) - -distancia = sqrt((x2 - x1)**2 + (y2 - y1)**2) - -print('A distancia entre os dois pontos é: ', distancia) \ No newline at end of file diff --git a/1ano/fp/aula02/darts.cs b/1ano/fp/aula02/darts.cs index 2cc588c..9f46ffd 100644 --- a/1ano/fp/aula02/darts.cs +++ b/1ano/fp/aula02/darts.cs @@ -1,5 +1,8 @@ // .NET core 6.0 +// This is just a C# version of the python solution: +// https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/fp/aula02/darts.py + namespace Darts { internal class Program