diff --git a/lab-01/r-1.1.py b/lab-01/r-1.1.py index 0781b86..e4c8f07 100644 --- a/lab-01/r-1.1.py +++ b/lab-01/r-1.1.py @@ -4,6 +4,7 @@ def is_multiple(n, m): else: print(False) + print('Is "n" a multiple of "m"?') is_multiple(float(input('Give a value for n: ')), float(input('Give a value for m: '))) \ No newline at end of file diff --git a/lab-01/r-1.2.py b/lab-01/r-1.2.py index 478d1f1..a555434 100644 --- a/lab-01/r-1.2.py +++ b/lab-01/r-1.2.py @@ -14,5 +14,6 @@ def is_even(k): else: print(False) + print('Is "k" an even number?') is_even(int(input('Give a value for k: '))) \ No newline at end of file diff --git a/lab-01/r-1.3_scratch.py b/lab-01/r-1.3_scratch.py index 07d27d3..870f8e2 100644 --- a/lab-01/r-1.3_scratch.py +++ b/lab-01/r-1.3_scratch.py @@ -9,7 +9,8 @@ I will start again soon, scrapping the input loop idea and just focusing on function itself. """ -def minmax(data): - +def minmax(*data): + print(data) +minmax(24, 3, 84.26, -15) \ No newline at end of file