Closed GeekLad closed 4 years ago
You are not supposed to enter a value for the first prompt. If you just click OK, as you are told to do in the text then you will get a ValueError on line 2 before you ever get to the name error.
Even so, I'll fix line 5 so that the program runs correctly when given correct input.
Done.
According to the text in the textbook, the code in ac4_7_8 should generate the following error:
ValueError: invalid literal for int() with base 10: '' on line: 4
However, it has a NameError:
NameError: name 'wait_time_int' is not defined on line 5
To Reproduce Steps to reproduce the behavior:
NameError
is generated instead of aValueError
Expected behavior A
ValueError
should be generatedScreenshots
Desktop (please complete the following information):