forked from tdwojak/Python2018
rozwiązanie zad.6
This commit is contained in:
parent
9bced26d9f
commit
9b66c64e59
@ -10,7 +10,15 @@ ma być zwracany napis "It's not a Big 'No!'".
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def big_no(n):
|
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):
|
def tests(f):
|
||||||
inputs = [[5], [6], [2]]
|
inputs = [[5], [6], [2]]
|
||||||
|
Loading…
Reference in New Issue
Block a user