Day 11: 100 Days of Python
I am Junior Data Scientist, using python for my analysis and modelling. I have few projects i have worked on and I'm loving this process. I'm open to working with anyone willing to help me through this process.
##Day 11 of 100DAYS OF PYTHON
print ("TOTAL SECONDS IN A YEAR")
min = 60
hour = 60
hours_in_a_day = 24
days_in_a_year = int(input(" How many days in seconds do you want me to calculate for you? "))
days_in_a_leapyear = 366
leapyear = input("Is this year a leap year? ")
year = int(input("How many days are in this year? "))
t = int(min * hour * hours_in_a_day * days_in_a_year)
f = int(min * hour * hours_in_a_day * days_in_a_leapyear)
if year == 366:
print ("There are ", f, " seconds in a leapyear")
elif year == 365:
print ("There are ", t, " seconds in a year")
else:
print("Please recalculate the days in a year, You must have missed something somewhere.")

