Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,7 +1 @@
|
|||
for n in range(1,101):
|
||||
msg = ""
|
||||
if not (n%3):
|
||||
msg += "Fizz"
|
||||
if not (n%5):
|
||||
msg += "Buzz"
|
||||
print msg or str(n)
|
||||
for i in range(1,101): print("Fizz"*(i%3==0) + "Buzz"*(i%5==0) or i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue