From db719c47a2b95d6d458614097344d4c6ff818f25 Mon Sep 17 00:00:00 2001 From: s45148 Date: Tue, 28 Nov 2017 21:59:37 +0100 Subject: [PATCH] z1, z2, z3, z4, z5, z6 --- labs02/task06.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/labs02/task06.py b/labs02/task06.py index ff4a9d3..d8d97fa 100644 --- a/labs02/task06.py +++ b/labs02/task06.py @@ -10,8 +10,14 @@ ma być zwracany napis "It's not a Big 'No!'". """ def big_no(n): - pass - + if n < 5: + res = "It's not a Big 'No!'" + else: + ol = "" + for i in range(n): + ol += "O" + res = "N" + ol + "!" + return(res) def tests(f): inputs = [[5], [6], [2]] outputs = ["NOOOOO!", "NOOOOOO!", "It's not a Big 'No!'"]