Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created July 15, 2021 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/e20aa23d41620caba92bcc5ab4fee0dd to your computer and use it in GitHub Desktop.
Save amankharwal/e20aa23d41620caba92bcc5ab4fee0dd to your computer and use it in GitHub Desktop.
def seconds_per_day(days):
hours = days * 24
minutes = hours * 60
seconds = minutes * 60
return seconds
print(seconds_per_day(2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment