Question: v ' hh:mm:ss ' where h , m , and s are digits. There must be Add Last Assert to str . . Add on
vhh:mm:ss where and are digits. There must be
Add Last Assert to str
Add on last assert statement to
strtoseconds that calls iso Again,
error messages are optional and are not
required. To test your assert statement,
you will need to call the function
strtoseconds in the interactive shell.
Calls like strtoseconds:: or
strtoseconds:aa: should crash
with an AssertionError if you did it
properly.
Check the Assert
You may run this test multiple times.
LAST RUN on :: PM
The function strtoseconds' crashed on
valid input time::
Traceback most recent call last:
AssertionError
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
