2 ms·
Yeah, but in Python you have other niceties, like dates. Just the other day my pregnant wife asked me to calculate the aprox date she'll give birth (considerin
by bad_user 17y ago
Yeah, but in Python you have other niceties, like dates.
Just the other day my pregnant wife asked me to calculate the aprox date she'll give birth (considering she has 17 weeks) ...
from datetime import datetime, timedelta
print str( datetime.now() + timedelta(weeks=40 - 17) )