The Simple Stopwatch script in beginner projects/Simple stopwatch/ has four critical bugs that make it unfriendly for beginner users:
Problem
- Case Sensitivity Bug: Only accepts lowercase 'y' or 'n'. Entering 'Y' or 'N' causes the program to exit immediately with no error message.
- Invalid Input Bug: Any input other than 'y' or 'n' causes the program to exit. No helpful error guidance.
- Empty Input Bug: Pressing Enter without typing anything exits the program.
- Poor User Experience: No feedback messages when the stopwatch starts/stops.
Steps to Reproduce
- Run the stopwatch script
- When prompted "Start stopwatch? y/n: " enter
Y (uppercase)
- Expected: Program should accept the input and start the stopwatch
- Actual: Program exits silently with no explanation
The Simple Stopwatch script in
beginner projects/Simple stopwatch/has four critical bugs that make it unfriendly for beginner users:Problem
Steps to Reproduce
Y(uppercase)