Skip to content

output counting value as mm:ss ? #1

@ReimarBauer

Description

@ReimarBauer

Hi Stefan

this counting number can this be printed and shown in a human readable format e.g.

s = 300
print('{:02}:{:02}:{:02}'.format(s//3600, s%3600//60, s%60))

print('{:02}:{:02}'.format(s%3600//60, s%60))

May be mintutes are enough

regards
Reimar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions