Zaktualizuj 'labs02/task06.py'
dodaje
This commit is contained in:
parent
2ef1c48c97
commit
3672f3d65e
@ -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