forked from tdwojak/Python2018
Zaktualizuj 'labs02/task06.py'
This commit is contained in:
parent
1afc8fd9fe
commit
8fb40219cf
@ -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:
|
||||||
|
zdanie="It's not a Big 'No!'"
|
||||||
|
else:
|
||||||
|
zdanie='N'
|
||||||
|
for i in range(n):
|
||||||
|
zdanie=zdanie + 'O'
|
||||||
|
zdanie = zdanie+'!'
|
||||||
|
|
||||||
|
return zdanie
|
||||||
|
|
||||||
def tests(f):
|
def tests(f):
|
||||||
inputs = [[5], [6], [2]]
|
inputs = [[5], [6], [2]]
|
||||||
|
Loading…
Reference in New Issue
Block a user