Python without Def function
Problem Statement
Define and implement a function time_delta that takes two string parameters (time1 and time2) and returns the difference between them (as a string). You may assume that the second time will always be after the first time, both times will always be on the same date, and military time will be used (no a.m. or p.m.).
time_delta(04:15:36, 16:35:27) ➞ (12:19:51) time_delta(02:06:05, 06:09:10) ➞ (04:03:05)
"04:15:36" "16:35:27"
"12:19:51"
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here