You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the function convert(time) is supposed to convert inputs like 7:30 to 7.5 but returns 7.05. This is because minutes is divided by 600 essentially converting minuets into seconds. This also fails the check50 cs50/problems/2022/python/meal test. The solution if to divide by 60 in all cases instead of 600.
The text was updated successfully, but these errors were encountered:
the function convert(time) is supposed to convert inputs like 7:30 to 7.5 but returns 7.05. This is because minutes is divided by 600 essentially converting minuets into seconds. This also fails the check50 cs50/problems/2022/python/meal test. The solution if to divide by 60 in all cases instead of 600.
The text was updated successfully, but these errors were encountered: