+ 1
What is wrong with my code? Please i am a biginner , thank y'all in advance
def time_difference(hour1:float, hour2: float)->float: """return time_difference between hour1 and hour2, both from a range of 24(thus indicating hours in a day) time_difference (23,4) 19 time_difference (12,4) 8 time_difference (17,12) 5 """ return hour1 - hour2
2 Réponses
+ 3
Insert your code so it can be open in code editor
0
Hey man. I tried it and it works thank pal