Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 3-functional-programming/13_grammys.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ def longer_than_five_minutes(song):

def minutes_to_seconds(song):
duration = song[1]
minutes = int(duration)
minutes = duration
seconds = (duration - minutes) * 100

return minutes * 60 + round(seconds)
return int(minutes * 60 + round(seconds))

def add_durations(total, song):
duration = song[1]
Expand Down