"In a file called working.py, implement a function called convert that expects a str in either of the 12-hour formats below...
9:00 AM to 5:00 PM
9 AM to 5 PM"
In test_working.py, I tested various invalid formats including "09 AM to 09 PM", intending to raise a ValueError; but this test caused the staff version to fail (ie, the staff version of working.py accepts this format).
"In a file called working.py, implement a function called convert that expects a str in either of the 12-hour formats below...
In test_working.py, I tested various invalid formats including "09 AM to 09 PM", intending to raise a ValueError; but this test caused the staff version to fail (ie, the staff version of working.py accepts this format).