Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    \$\begingroup\$ According to the rules, you can get rid of the f=: Try it online! \$\endgroup\$ Commented Feb 15, 2021 at 16:39
  • 1
    \$\begingroup\$ @Movatica thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \$\endgroup\$ Commented Feb 15, 2021 at 16:41
  • 2
    \$\begingroup\$ You need to return a year, not print it. So it's allowed to move print() to the footer, for 7 fewer bytes. tio.run/##FcrBCoQgEADQe1/hcaYNibSlXehPukyoJGSKzCG/… \$\endgroup\$ Commented Feb 15, 2021 at 22:24
  • \$\begingroup\$ @EricDuminil thanks!!! \$\endgroup\$ Commented Feb 16, 2021 at 4:22