Assignment C4W1 does not pass the test even if all tests are correct 'time_valid' is not defined

Hi @sam888

Go through below post comment to debug your codes

Solution post comment

this error happen usually when variables were used incorrectly even if you passed all the unit test