Debouncing issues

That’s microseconds you have there not milliseconds …. Have another look at your timings , there is a limit to how fast a Reed switch can operate and it won’t bounce for 200mS ! 4mS is more like it ( 4000micro seconds)

Note also that the print statement takes time to process