FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python/pythonchallenge/15.py at master · bjd1111/python · GitHub
bjd1111
python
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python
/
pythonchallenge
/
15.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (6 loc) · 213 Bytes
Breadcrumbs
python
/
pythonchallenge
/
15.py
Copy path
File metadata and controls
9 lines (6 loc) · 213 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
import
calendar
tuesday
=
1
#0-6 for mondayto sunday
for
i
in
xrange
(
1006
,
2000
):
if
calendar
.
isleap
(
i
)
and
calendar
.
weekday
(
i
,
1
,
27
)
==
tuesday
:
if
str
(
i
)[
-
1
]
==
'6'
:
print
i
Back
|
FazBrowse Home
|
New Git URL