If you have any questions, comments or issues with this project please post them here!
How many seconds in a year !!
https://replit.com/@JackAdem/Day-011-Project-11-How-many-seconds-are-in-a-year?v=1
Day 11 of #Replit100DaysOfCode #100DaysOfCode.
This is mostly a note for myself to keep me going for 100 Days Of Code but where others can also read it if they would like:
Day 11- Just finished day 11 of 100 for #100-days-of-code! I am still enjoying doing this and I can’t wait to get into even more fun stuff down the road. I can’t wait to be on that day 100 where I can look back at where I started and see how much better I have been doing.
Replit- https://replit.com/@Chandler0Bing/100-Days-Of-Code-Day-11
Looks amazing! My only advice, try to find a way to simplify the code.
Normally I leave the spelling/grammar corrections to @QwertyQwerty54 but this one bothers me. Please change “leep” to “leap” in your code. That’s how it’s spelled. Also you might want to change it to “28-30 days in a Month”.
I like the double spacing, which makes the output easier to read. The only real problem with your code is that it generates the wrong number. I used a calculator (not Python) to determine this and 60 seconds per minute * 60 minutes per hour * 24 hours per day * 365 days per year = 31536000 seconds per year. I think the problem is using the months (which have variable day numbers) in your calculations. You could do math for each month if you would like. That would be cool to see how many seconds are in each month.