DEV Community

Discussion on: simple age calc using python

Collapse
 
doublepicebs profile image
Doublepicebs

Really nice!! Would be better if you used something like

import datetime
time = datetime.datetime.now()

and let the y to be time.year