- Notifications
You must be signed in to change notification settings - Fork 292
Closed
Labels
bug hunter challengewww.codedex.io/community/monthly-challenge/october-2023www.codedex.io/community/monthly-challenge/october-2023
Description
Issue: Unused option in 29_fortune_cookie_1.py
- In the source code for 29_fortune_cookie_1.py,
options[8]
will never be reachable because the range is for(0, 7)
which meansindexing
begins at0
and ends at7
for a total of8
indexes. - In the
if, elif, else
logic there are a total of9
options since the first check forif
starts withindex 0
.- This means
options[8]
will never be reached.
- This means

Metadata
Metadata
Assignees
Labels
bug hunter challengewww.codedex.io/community/monthly-challenge/october-2023www.codedex.io/community/monthly-challenge/october-2023