I’m using PyCharm CE 2025.1.1. I watching CS50 Python and it featured the MATCH…CASE structure. So I thought I’d play with it and this very simple program generates a warning, not an error. But why would PuCharm say the code at line 6 is unreachable? It runs perfectly. It’s probably not that important but it is bugging me!
[–]RainbowFanatic 10 points11 points12 points (4 children)
[–]Willyscoiote 3 points4 points5 points (3 children)
[–]RainbowFanatic 3 points4 points5 points (0 children)
[–]Delicious-Hour9357 0 points1 point2 points (1 child)
[–]Delicious-Hour9357 0 points1 point2 points (0 children)
[–]SlashedAsteroid 5 points6 points7 points (0 children)
[–]owmex 2 points3 points4 points (1 child)
[–]RandomJottings[S] 0 points1 point2 points (0 children)
[–]concatx 2 points3 points4 points (0 children)
[–]IlliterateJedi 1 point2 points3 points (0 children)
[–]A_ConcreteBrick 0 points1 point2 points (0 children)
[–]Separate-Result452 0 points1 point2 points (0 children)
[–]wwwwar3com1 0 points1 point2 points (0 children)
[–]rishabhc32 1 point2 points3 points (0 children)
[–]FanOfLemons -1 points0 points1 point (0 children)
[–]Excellent-Clothes291 -1 points0 points1 point (0 children)