BuildlyBuildly
DashboardExercisesProfileHelp
Data Science/Module 1: Python Programming/Python Fundamentals2/3
Exercise·5 min·10 XP

Seconds to Minutes

Write seconds_to_minutes(total) that converts a total number of seconds into a string like "4m8s" — whole minutes plus leftover seconds. Use // for the integer-divided minutes and % for the leftover seconds, then stitch them into a string.

Previous
Voting Age Check
Next
Title Case a Sentence