diff --git a/labs02/task06.py b/labs02/task06.py index ff4a9d3..c08e2a7 100644 --- a/labs02/task06.py +++ b/labs02/task06.py @@ -10,7 +10,15 @@ ma być zwracany napis "It's not a Big 'No!'". """ def big_no(n): - pass + if n<5: + zwraca= "It's not a Big 'No!'" + return zwraca + else: + zwraca='' + for i in range(n): + zwraca=zwraca + 'O' + + return ("N"+ zwraca+ "!") def tests(f): inputs = [[5], [6], [2]]