100_year = date.today().year - age + 100
^
SyntaxError: invalid decimal literal
I'm trying to understand what the problem is.
Python identifiers can not start with a number.
The 'arrow' points to year because underscore is a valid thousands separator in Python >= 3.6, so 100_000 is a valid integer literal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With