Calculate days until Christmas with #Python
#!/usr/bin/python3
from datetime import datetime
year=datetime.today().year
d=datetime(year,12,25)-datetime.today()
print ("Only",d.days,"shopping days until Christmas.")
Calculate days until Christmas with #Python
#!/usr/bin/python3
from datetime import datetime
year=datetime.today().year
d=datetime(year,12,25)-datetime.today()
print ("Only",d.days,"shopping days until Christmas.")
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.