GPIO pin configuration issue for UART communication

I’ve checked on my side and it’s working fine. Now please verify your hardware connection, check the wiring, hat, or whatever setup you’re using.If possible, try changing the TX and RX pins (use different pins for (id = 0)).