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