Skip to content

Conversation

Natam98
Copy link
Collaborator

@Natam98 Natam98 commented Jun 4, 2024

No description provided.


seconds = seconds % 60

print(str(days) + ":" + str("{:02d}".format(hours)) + ":" + str("{:02d}".format(minutes)) + ":" + str("{:02d}".format(seconds)))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok using format method, str prefix not needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants