-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpy_004.py
More file actions
17 lines (12 loc) · 446 Bytes
/
py_004.py
File metadata and controls
17 lines (12 loc) · 446 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python
#-*- coding:utf-8 -*-
###############################################################################
# File Name: python_004.py
# Author:
# Mail:
# Created Time: 2017-10-28 08:42:26
###############################################################################
import time
D =input("please input xxxx-xx-xx:")
d = time.strptime(D,'%Y-%m-%d').tm_yday
print("the {} day ".format(d))