Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
generowanie lat
szymcio10
Mar 23rd, 2020
160
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
lata
(
poczatek
,
koniec
=
2000
)
:
return
[
n
for
n
in
range
(
poczatek
,
koniec
)
if
(
n%
4
==
0
and
n%
100
!=
0
)
or
n%
400
==
0
]
print
lata
(
1600
)
print
lata
(
1900
,
2001
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 13.98 KB
Untitled
3 hours ago | 12.49 KB
Untitled
5 hours ago | 12.40 KB
programacion_algoritmos_flashcards.tsv
7 hours ago | 2.67 KB
Untitled
7 hours ago | 17.13 KB
Untitled
9 hours ago | 18.40 KB
Untitled
11 hours ago | 17.70 KB
Untitled
13 hours ago | 16.97 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!