forked from tdwojak/Python2017
z1, z2, z3, z4, z5, z6
This commit is contained in:
parent
b67a851e9d
commit
db719c47a2
@ -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!'"]
|
||||
|
Loading…
Reference in New Issue
Block a user