Skip to main content
1 of 3
avarice
  • 12.5k
  • 1
  • 21
  • 52

Python 3, 74 bytes

from datetime import* f=lambda x:print((date.today()+timedelta(0,x)).year) 

Try it online!

avarice
  • 12.5k
  • 1
  • 21
  • 52