about | help | code help+videos | done | prefs |
getHoursMinutesSeconds
Write a getHoursMinutesSeconds() function that has a totalSeconds parameter. The argument for this parameter will be the number of seconds to be translated into a list with the number of hours, minutes, and seconds. getHoursMinutesSeconds(30) → [0, 0, 30] getHoursMinutesSeconds(60) → [0, 1, 0] getHoursMinutesSeconds(90) → [0, 1, 30] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 201 Post-solution available
Copyright Nick Parlante 2017 - privacy