1
0
forked from tdwojak/Python2017

z1, z2, z3, z4, z5, z6

This commit is contained in:
s45148 2017-11-28 21:59:37 +01:00
parent b67a851e9d
commit db719c47a2

View File

@ -10,8 +10,14 @@ ma być zwracany napis "It's not a Big 'No!'".
""" """
def big_no(n): 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): def tests(f):
inputs = [[5], [6], [2]] inputs = [[5], [6], [2]]
outputs = ["NOOOOO!", "NOOOOOO!", "It's not a Big 'No!'"] outputs = ["NOOOOO!", "NOOOOOO!", "It's not a Big 'No!'"]