diff --git a/exercises/02450Toolbox_Python/Scripts/ex2_1_2.py b/exercises/02450Toolbox_Python/Scripts/ex2_1_2.py index dea5b3f9d071dbfe5fc62042a0708269e31523c1..53d399138b6a7fef1afdb751c4dafad72b736799 100644 --- a/exercises/02450Toolbox_Python/Scripts/ex2_1_2.py +++ b/exercises/02450Toolbox_Python/Scripts/ex2_1_2.py @@ -1,4 +1,4 @@ -# exercise 2.1.1 +# exercise 2.1.2 import numpy as np x = np.array([-0.68, -2.11, 2.39, 0.26, 1.46, 1.33, 1.03, -0.41, -0.33, 0.47]) diff --git a/exercises/02450Toolbox_Python/Scripts/ex2_4_3.py b/exercises/02450Toolbox_Python/Scripts/ex2_4_3.py index 07f073eb6aad61924d6907dbb4a40e70bd69525d..b379c1e82102da74c5e51a532114cf99a84d4978 100644 --- a/exercises/02450Toolbox_Python/Scripts/ex2_4_3.py +++ b/exercises/02450Toolbox_Python/Scripts/ex2_4_3.py @@ -121,6 +121,8 @@ print("Distance after scaling all attributes: %s \n\n" % dist_firstandlast) # Try to change the scale of one of the attributes in both wines and see the effect on the distance x_red = np.copy(X[0,:]) x_white = np.copy(X[-1,:]) +print("x_red: %s" % x_red) +print("x_white: %s" % x_white) sf = 1000 x_white[1] = sf*x_white[1] x_red[1] = sf*x_red[1] @@ -253,5 +255,5 @@ raise NotImplementedError() #%% -print("You are now done with this exercise. ASk your TA to look over your solutions and discuss your findings with them.")#%% +print("You are now done with this exercise. Ask your TA to look over your solutions and discuss your findings with them.")#%% # %%