second = int(input("Enter a number of seconds:")) Seconds = second Minutes = 0 Hours = 0 Days = 0 Years = 0 while Seconds > 60 : Seconds = Seconds - 60 Minutes = Minutes + 1 while Minutes > 60 : Minutes = Minutes - 60 Hours = Hours + 1 while Hours > 24 : Hours = Hours - 24 Days = Days + 1 while Days > 365 : Days = Days - 365 Years = Years + 1 print(second, "Seconds is:", Years, "Years", Days, "Days", Hours, "Hours", Minutes, "Minutes", "and", Seconds, "Seconds")