Writing some python code and doing a tutorial (I’m new to programming). I’ve done a lot of things that worked just fine. Came upon a really weird problem today.
final = years + months + days + leap_year print (final) return final calc_days(05051980,02082016)
The number 02082016 refuses to be accepted as an integer. Atom only reads “020” as an integer, and “82016” as text. If I remove the 8, it works. If I put the 8 back in, it splits it into an integer and code again.
See image below.