forked from tdwojak/Python2017
commited tasks
This commit is contained in:
parent
977a92617e
commit
d64e3c0545
@ -10,11 +10,11 @@ ma być zwracany napis "It's not a Big 'No!'".
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def big_no(n):
|
def big_no(n):
|
||||||
out = "N"
|
|
||||||
if n < 5:
|
if n < 5:
|
||||||
out = "It's not a Big 'No!'"
|
out = "It's not a Big 'No!'"
|
||||||
else:
|
else:
|
||||||
for i in n:
|
out = "N"
|
||||||
|
for i in range(n):
|
||||||
out += "O"
|
out += "O"
|
||||||
out += "!"
|
out += "!"
|
||||||
return out
|
return out
|
||||||
|
Loading…
Reference in New Issue
Block a user