We define a named tuple as the return value for our method and pass in the calculated minutes and seconds. Accessing the tuple values using dot syntax allows for some really concise code
We define a named tuple as the return value for our method and pass in the calculated minutes and seconds. Accessing the tuple values using dot syntax allows for some really concise code