Skip to content
Snippets Groups Projects
Commit ed3bca9d authored by vand's avatar vand
Browse files

Upload New File

parent b7dd70f1
No related branches found
No related tags found
No related merge requests found
def convert_time(hours, minutes):
minutes_in_hour = 60
mnt = hours * minutes_in_hour
total = minutes + mnt
return total
#%%
hours = 5
minutes = 15
converted = convert_time(hours,minutes)
print(converted)
#%% Instead of writing function from scratch, you should first implement the
# functionality, as in the code below. Then, you can pack it in the function.
hours = 5
minutes = 15
minutes_in_hour = 60
mnt = hours * minutes_in_hour
total = minutes + mnt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment